Ticket #52653: 52653.diff
File 52653.diff, 1.0 KB (added by , 4 years ago) |
---|
-
.github/workflows/test-old-branches.yml
1 1 name: Test old branches 2 2 3 3 on: 4 # Once weekly On Mondaysat 00:00 UTC.4 # Run twice a month on the 1st and 15th at 00:00 UTC. 5 5 schedule: 6 - cron: '0 0 1,15 * *' 6 - cron: '0 0 1 * *' 7 - cron: '0 0 15 * *' 7 8 8 9 jobs: 9 10 dispatch-workflows-for-old-branches: … … 45 46 - branch: '3.7' 46 47 workflow: 'javascript-tests.yml' 47 48 49 # Run all branches monthly, but only the 2 most recent twice per month. 48 50 steps: 49 51 - name: Dispatch workflow run 50 52 uses: actions/github-script@47f7cf65b5ced0830a325f705cad64f2f58dddf7 # v3.1.0 53 if: ${{ github.event.schedule == '0 0 15 * *' || matrix.branch == '5.7' || matrix.branch == '5.6' }} 51 54 with: 52 55 github-token: ${{ secrets.GHA_OLD_BRANCH_DISPATCH }} 53 56 script: |