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
| Variable | Meaning |
|---|---|
conclusion | success, failure, cancelled, … |
failed | true when conclusion is failure or timed_out |
workflow.name / workflow.file | Workflow identity |
run.id / run.url / run.attempt | Run links |
head_branch / head_sha | Commit under test |
failed_jobs | Failed job names |
repo.full_name | Repository |
actor | Actor login |
Example filter
on:
workflow_run:
conclusion: [failure]
branches: [main, release/*]
See Fix failed CI.