Skip to content

Commit

Permalink
feat: Add sync ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nlemoine authored Nov 21, 2024
1 parent 4c18fd0 commit db64006
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/sync-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Sync GitHub

on:
workflow_dispatch:
push:
branches:
- main

jobs:

sync-templates:
name: Sync GitHub Templates
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'Humanoidfr' }}
steps:
- name: Sync files
uses: adrianjost/[email protected]
with:
SRC_REPO: Humanoidfr/github-templates
FILE_PATTERNS: |
^.github/pull_request_template.md
TARGET_REPOS: |
Humanoidfr/humanoid-core
COMMIT_MESSAGE: "ci: Update pull request template"
GITHUB_TOKEN: ${{ secrets.SYNC_REPOS }}

0 comments on commit db64006

Please sign in to comment.