Cluster failed GitHub Actions runs into incident windows by repo to expose outage duration, impact scope, and escalation severity.
Use this skill to convert noisy failed run exports into incident windows you can triage quickly during CI reliability reviews.
Optional:
RUN_GLOB (default: artifacts/github-actions/*.json)TOP_N (default: 20)OUTPUT_FORMAT (text or json, default: text)INCIDENT_GAP_MINUTES (default: 45)WARN_FAILED_RUNS (default: 2)CRITICAL_FAILED_RUNS (default: 4)WARN_DURATION_MINUTES (default: 20)CRITICAL_DURATION_MINUTES (default: 60)WORKFLOW_MATCH (regex, optional)WORKFLOW_EXCLUDE (regex, optional)REPO_MATCH (regex, optional)REPO_EXCLUDE (regex, optional)FAIL_ON_CRITICAL (0 or 1, default: 0)gh run view <run-id> --json databaseId,workflowName,event,conclusion,headBranch,createdAt,updatedAt,startedAt,url,repository \
> artifacts/github-actions/run-<run-id>.json
Text report:
RUN_GLOB='artifacts/github-actions/*.json' \
INCIDENT_GAP_MINUTES=45 \
bash skills/github-actions-incident-timeline-audit/scripts/incident-timeline-audit.sh
JSON output with fail gate:
RUN_GLOB='artifacts/github-actions/*.json' \
OUTPUT_FORMAT=json \
FAIL_ON_CRITICAL=1 \
bash skills/github-actions-incident-timeline-audit/scripts/incident-timeline-audit.sh
Run with bundled fixtures:
RUN_GLOB='skills/github-actions-incident-timeline-audit/fixtures/*.json' \
bash skills/github-actions-incident-timeline-audit/scripts/incident-timeline-audit.sh
0 in report mode (default)1 when FAIL_ON_CRITICAL=1 and one or more incidents are criticalZIP package — ready to use