.github/workflows/branch_sync.yml
raw| 1 | name: Sync PR |
| 2 | |
| 3 | on: |
| 4 | push: |
| 5 | branches: |
| 6 | - '8.*.x' |
| 7 | schedule: |
| 8 | - cron: '33 04 * * 1-5' # 04:33 UTC Mon-Fri |
| 9 | workflow_dispatch: |
| 10 | inputs: |
| 11 | head_branch: |
| 12 | description: Branch to merge into master |
| 13 | required: true |
| 14 | |
| 15 | jobs: |
| 16 | sync: |
| 17 | if: github.repository_owner == 'cylc' || github.event_name != 'schedule' |
| 18 | uses: cylc/release-actions/.github/workflows/branch-sync.yml@v1 |
| 19 | with: |
| 20 | head_branch: ${{ inputs.head_branch }} |
| 21 | secrets: inherit |