GitHub workflow run completed

Event id: github.workflow_run.completed
Shortcut: workflow_run

Fires when a GitHub Actions workflow run completes. Typical use: auto-investigate failed CI on run branches.

Useful variables

VariableMeaning
conclusionsuccess, failure, cancelled, …
failedtrue when conclusion is failure or timed_out
workflow.name / workflow.fileWorkflow identity
run.id / run.url / run.attemptRun links
head_branch / head_shaCommit under test
failed_jobsFailed job names
repo.full_nameRepository
actorActor login

Example filter

on:
  workflow_run:
    conclusion: [failure]
    branches: [main, release/*]

See Fix failed CI.