Difference between revisions of "GitHub Actions: schedule:"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
# Publish semver tags as releases. | # Publish semver tags as releases. | ||
tags: [ 'v*.*.*' ] | tags: [ 'v*.*.*' ] | ||
− | 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 == | ||
Line 17: | Line 23: | ||
== See also == | == See also == | ||
+ | * {{on}} | ||
* {{GitHub Actions}} | * {{GitHub Actions}} |
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: