Merge pull request #148 from ecmwf-actions/fix/raw-escape-nunjucks #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 Files to Different Repos | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'sync-files/**' # Only trigger on changes in sync-files directory | |
workflow_dispatch: # Keep manual trigger capability | |
jobs: | |
sync: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Run Repo File Sync Action | |
uses: BetaHuhn/repo-file-sync-action@v1 | |
with: | |
GH_PAT: ${{ secrets.REPO_SYNC_ACTION_PAT }} | |
GIT_EMAIL: "[email protected]" | |
CONFIG_PATH: sync-files/sync.yml | |
COMMIT_PREFIX: "chore: " | |
BRANCH_PREFIX: "chore/file-broadcast/" | |
COMMIT_BODY: "Triggered from common files on https://github.com/ecmwf-actions/reusable-workflows" |