Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions docs/src/content/docs/reference/triggers.md
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,20 @@ Workflows with `workflow_run` triggers include automatic security protections:

See the [Security Architecture](/gh-aw/introduction/architecture/) for details.

#### Conclusion Filtering (`conclusion:`)

Use `conclusion:` to restrict the trigger to specific workflow run outcomes. Accepts a single value or a list. Compiles into a guarded `if:` condition — other events in the same `on:` block are unaffected.

```yaml wrap
on:
workflow_run:
workflows: ["CI"]
types: [completed]
conclusion: [failure, cancelled]
```

Valid values: `success`, `failure`, `cancelled`, `skipped`, `timed_out`, `action_required`, `neutral`, `stale`.

### Deployment Status Triggers (`deployment_status:`)

Trigger workflows when a GitHub deployment status changes. [Full event reference](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#deployment_status).
Expand Down