GitHub Actions: on:
(Redirected from On:)
Jump to navigation
Jump to search
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on
on: push on: [push,fork] on: pull_request [1] on: schedule on: workflow_dispatch # for manual trigger [2] on: workflow_call # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onworkflow_call
on: ['deployment'] (GitHub Actions helm deployments)
on: push: branches: - main - develop
on: schedule: # * is a special character in YAML so you have to quote this string - cron: '30 5,17 * * *'
Related[edit]
- GitHub Actions: events that trigger workflows
- GitHub Actions:
runs-on: - GitHub Actions: inputs:
- GitHub Actions: schedule:
- Azure Pipelines:
trigger - when: (GitLab)
- Workflow does not exist or does not have a workflow_dispatch trigger in this branch.
See also[edit]
on:,pull_request, 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: