Example Failure Category Filter
Demonstrates report-failure-as-issue category filtering, with inclusion and exclusion syntax.
- Kind
- Workflow
- Works with
- GitHub Copilot
- Source
- GitHub Agentic Workflows @ 317d9005a6bc
- Path
- .github/workflows/example-failure-category-filter.md
- Jobs
- Automation
- Topics
- Debugging
Credit
- Made by
- github
- Original
- github.com/github/gh-aw/blob/317d9005a6bca5ae586c3c3dcc0acf3a…
- License
- MIT
Listed by Skill Manifest; not made by us.
InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
Install factsScanned 3 Nov 2026
- Adds
- Steps in the source's README; what they create is not stated in the catalog
- Runs scripts
- Unknown
- Uses the network
- None found
- Needs secrets
- None found
- Source revision
- 317d9005a6bc
- Licence
- MIT
- Last activity
- 27 Nov 2026
- Source changed after the scan
- Yes
- Last push 27 Nov 2026, scanned 3 Nov 2026; read it again before you rely on this scan
- Review
- Reviewed
Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.
- What this adds depends on the source's own instructions
# Example: Failure Category Filtering
This workflow demonstrates the `report-failure-as-issue` category filtering feature with both inclusion and exclusion syntax.
## Context
For scheduled workflows that frequently encounter transient infrastructure failures:
- Docker registry timeouts
- AI server 5xx errors
- Firewall startup failures
- MCP image pull intermittent failures
Traditional `report-failure-as-issue: false` suppresses ALL failure reports, including genuine agent bugs.
## Solution
Use category filtering to only report actionable failures:
### Inclusion Syntax (include only these categories)
```yaml
safe-outputs:
report-failure-as-issue:
- agent_failure
- missing_safe_outputs
- missing_tool
- missing_data
```
### Exclusion Syntax (exclude these categories, report all others)
```yaml
safe-outputs:
report-failure-as-issue:
- "!inference_access_error" # Exclude AI server transient errors
- "!ai_credits_rate_limit_error" # Exclude AI rate limits
- "!report_incomplete" # Exclude infrastructure failures
- "!mcp_policy_error" # Exclude MCP policy violations
```
…