Schedule publish #4548
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
| --- | |
| name: Schedule publish | |
| on: | |
| schedule: | |
| # GitHub Actions throttles scheduled workflows hard at the top of the hour. | |
| # Spreading entries across off-peak minutes gives the cron a better shot at firing | |
| # within the publish gate's quiet-period window. | |
| - cron: "17 * * * *" | |
| - cron: "47 * * * *" | |
| workflow_dispatch: | |
| permissions: {} | |
| concurrency: | |
| group: publish-scheduler | |
| jobs: | |
| dispatch: | |
| runs-on: ubuntu-24.04 | |
| name: Dispatch publish workflow | |
| permissions: | |
| actions: write # required to dispatch the publish workflow via gh CLI | |
| contents: read # required by gh CLI to look up workflow metadata | |
| steps: | |
| - name: Dispatch publish workflow | |
| env: | |
| GH_TOKEN: ${{ github.token }} | |
| GH_REPO: ${{ github.repository }} | |
| run: gh workflow run publish.yml --ref main |