Difference between revisions of "GitHub Actions: schedule:"
Jump to navigation
Jump to search
Line 12: | Line 12: | ||
[[pull_request:]] | [[pull_request:]] | ||
branches: [ $default-branch ] | branches: [ $default-branch ] | ||
+ | |||
+ | |||
+ | on: | ||
+ | [[workflow_dispatch:]] | ||
+ | schedule: | ||
+ | - [[cron:]] '0 */6 * * *' # “At minute 0 past every 6th hour.” | ||
== Related == | == Related == |
Latest revision as of 06:28, 6 June 2024
https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
docker-publish.yml
on: schedule: - cron: $cron-daily push: branches: [ $default-branch ] # Publish semver tags as releases. tags: [ 'v*.*.*' ] pull_request: branches: [ $default-branch ]
on: workflow_dispatch: schedule: - cron: '0 */6 * * *' # “At minute 0 past every 6th hour.”
Related[edit]
See also[edit]
- on:
- GitHub Actions,
act, .github/workflows/
,~/actions-runner/
,svc.sh
,deploy:, run:, runs-on:
,uses:
,steps:
,jobs:
,on:, env:, uses:, script:, continue-on-error:, template:, aws-actions, inputs:
,GITHUB_ENV, needs:, github.
, GitHub runner, my-docker-publish.yml, GitHub Actions variables, GitHub Actions contexts, GitHub Actions Importer, If:, SLSA, Actions Runner Controller (ARC),$GITHUB OUTPUT
,notify:
, Marketplace,GITHUB_TOKEN
Advertising: