How to Trigger an Automation Script

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 key on.

  • Job and Step Conditions:

    • Individual jobs (under the jobs key) and specific steps (under the steps key) can use the if 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.