.github/workflows/scheduled_ci_14.yaml #66
This file contains hidden or 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
| on: | |
| # GitHub will only trigger workflows `on: schedule` for workflow files in the default GitHub branch | |
| schedule: | |
| - cron: '53 23 * * *' # Daily at 23:53 UTC | |
| jobs: | |
| trigger: | |
| name: Trigger workflow on branch | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| steps: | |
| - name: Trigger workflow | |
| run: gh workflow --repo '${{ github.repository }}' run ci.yaml --ref main | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| permissions: | |
| actions: write # Needed to trigger workflow |