Interview Prep/GitHub Actions/Triggers & Events

What triggers exist for GitHub Packages, deployments and checks?

IntermediateConceptTriggers & Events
Answer
  • registry_package (types published, updated) when a package or container image is published to GitHub Packages.
  • deployment and deployment_status when deployments are created or change state (used by integrations like external CD tools).
  • check_run and check_suite for check events from apps.
  • status when a commit status changes.

Most run from the default branch, and like all events created by GITHUB_TOKEN, those created by your own workflow do not retrigger.

All GitHub Actions questions Roadmap: GitHub Actions

More on Triggers & Events