2.4.4. How to Trigger an Automation Script#
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
jobs
key) and specific steps (under thesteps
key) can use theif
key.The
if
key 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
.