Domain 1: Author and maintain workflows (40% of exam) - rashinarasheed/github-actions-cert-prep GitHub Wiki

Work with events that trigger workflows

Configure workflows to run for one or more events

To configure GitHub Actions workflows to run on one or more events, you define triggers in the on section of the workflow YAML file.

To know more about workflow events read

  1. Triggering a workflow
  2. Events that triggers workflows
  3. Webhook events and payloads

You can find a sample workflow file here: workflow-triggered-on-multiple-events.