Sync GitHub #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |