GitHub Actions: schedule:
Jump to navigation
Jump to search
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:, workflow dispatch:- 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,gh workflow
Advertising: