github-actions-failure-matrix
Summarize GitHub Actions matrix job failures across runs so you can spot unstable OS/runtime axes fast.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/daniellummis/github-actions-failure-matrixGitHub Actions Failure Matrix
Use this skill to turn noisy GitHub Actions run JSON into a matrix-focused failure report.
What this skill does
- Reads one or more JSON exports from GitHub Actions runs (via
gh run view --json) - Detects failure-like matrix jobs (
failure,timed_out,cancelled, etc.) - Extracts matrix axes from common job-name patterns (
name (a, b),name [a, b],name / a / b) - Groups repeated failures by workflow + job + matrix axis signature
- Emits ranked triage output in
textorjson
Inputs
Optional:
RUN_GLOB(default:artifacts/github-actions/*.json)TOP_N(default:20)OUTPUT_FORMAT(textorjson, default:text)FAIL_ON_FAILURES(0or1, default:0) — exit non-zero when failure groups existMIN_OCCURRENCES(default:1) — hide groups below this repeat countWORKFLOW_MATCH(regex, optional) — include only workflows whose names matchWORKFLOW_EXCLUDE(regex, optional) — drop workflows whose names matchBRANCH_MATCH(regex, optional) — include only runs whose branch names matchBRANCH_EXCLUDE(regex, optional) — drop runs whose branch names matchJOB_MATCH(regex, optional) — include only base job names that matchJOB_EXCLUDE(regex, optional) — drop base job names that matchAXIS_MATCH(regex, optional) — include only parsed matrix-axis strings that matchAXIS_EXCLUDE(regex, optional) — drop parsed matrix-axis strings that matchCONCLUSION_MATCH(regex, optional) — include only specific failure conclusions (failure,timed_out,cancelled, etc.)CONCLUSION_EXCLUDE(regex, optional) — drop specific failure conclusionsFAILED_STEP_MATCH(regex, optional) — include only jobs whose terminal failed step matchesFAILED_STEP_EXCLUDE(regex, optional) — drop jobs whose terminal failed step matchesRUN_ID_MATCH(regex, optional) — include only runs whose run id matchesRUN_ID_EXCLUDE(regex, optional) — drop runs whose run id matchesRUN_URL_MATCH(regex, optional) — include only runs whose URL matchesRUN_URL_EXCLUDE(regex, optional) — drop runs whose URL matchesHEAD_SHA_MATCH(regex, optional) — include only runs whoseheadShamatchesHEAD_SHA_EXCLUDE(regex, optional) — drop runs whoseheadShamatchesREPO_MATCH(regex, optional) — include only runs whose repository matches (repository.nameWithOwner/full_name/name)REPO_EXCLUDE(regex, optional) — drop runs whose repository matches
Collect run JSON
gh run view <run-id> --json databaseId,workflowName,headBranch,headSha,url,repository,jobs \
> artifacts/github-actions/run-<run-id>.json
Run
Text report:
RUN_GLOB='artifacts/github-actions/*.json' \
TOP_N=15 \
bash skills/github-actions-failure-matrix/scripts/failure-matrix.sh
JSON output for CI annotation/upload:
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-daniellummis-github-actions-failure-matrix": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
github-actions-recovery-latency-audit
Measure GitHub Actions failure recovery latency and unresolved incident age by workflow group.
github-actions-cache-hardening-audit
Audit GitHub Actions workflow cache usage for poisoning, keying, and secret-path risks.
render-env-guard
Preflight-check Render service environment variables before deploys; catches missing keys and placeholder/template values that commonly break production rollouts.
github-actions-trigger-health-audit
Audit GitHub Actions run health by trigger event and workflow so flaky or noisy automation sources are easy to prioritize.
github-actions-run-gap-audit
Detect GitHub Actions workflow groups that stopped running on their normal cadence using median run intervals and current inactivity gap.