2.4.4. How to Trigger Workflows#
Event Triggers:
A variety of events can trigger a Workflow in GitHub.
Each Workflow (YAML file in
.github/workflows/) must include the top-level keyon.
Job and Step Conditions:
Individual jobs (under the
jobskey) and specific steps (under thestepskey) can use theifkey.The
ifkey allows for setting conditions to skip particular jobs or steps.
Skipped Job Status:
If a Workflow runs and a job is skipped, its status will be updated to
skipped.