Triggers¶
Description¶
The on: block declares which events start a workflow.
Common events¶
| Event | Runs when |
|---|---|
push |
Commits or tags are pushed |
pull_request |
A pull request is opened or updated |
workflow_dispatch |
A person runs it manually |
schedule |
A timer fires (cron) |
Filtering a push¶
branchesandtagslimit which refs trigger the run.pathslimits it to changes in certain files.
Manual inputs¶
Read the value with ${{ inputs.version }}.