GitHub Actions Failure Streak Audit for Openclaw

Audit GitHub Actions run history to identify and rank consecutive failure streaks that disrupt software delivery.

daniellummis
v1.0.0
Mar 6, 2026
0
757
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install github-actions-failure-streak-audit

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install github-actions-failure-streak-audit using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is GitHub Actions Failure Streak Audit?

The GitHub Actions Failure Streak Audit is a specialized diagnostic utility designed for developers and DevOps engineers looking to enhance their CI/CD observability through Openclaw Skills. By processing exported JSON data from GitHub Actions, the skill identifies patterns of persistent failures, cancellations, and timeouts across repositories and branches. This allows teams to distinguish between isolated, transient errors and systemic pipeline instability.

Built to integrate seamlessly into modern automation workflows, this skill provides a structured way to surface the most critical unresolved streaks first. By using this addition to the library of Openclaw Skills, engineering teams can significantly reduce the time spent manualy investigating flaky builds and focus on the pipelines that are causing the most significant delivery delays.

GitHub Actions Failure Streak Audit Use Cases

  • Identifying flaky CI/CD pipelines in high-traffic repositories before they block critical release branches.
  • Auditing organizational CI health by aggregating failure data across multiple workflows via Openclaw Skills.
  • Implementing automated quality gates that trigger alerts or block deployments when critical failure streaks are detected.
  • Scoring the severity of pipeline instability based on streak length and cumulative lost runtime minutes.

How GitHub Actions Failure Streak Audit Works

  1. Collect run data by exporting GitHub Actions run history as JSON using the GitHub CLI.
  2. Pass the directory of JSON files to the skill using the RUN_GLOB environment variable.
  3. The script groups the exported runs by repository, workflow name, and specific branch for granular analysis.
  4. It evaluates the chronological conclusion of each run, specifically looking for sequences of failure, cancelled, or timed_out statuses.
  5. Streaks are calculated and compared against defined warning and critical thresholds within the Openclaw Skills environment.
  6. A detailed report is generated in either text or JSON format, ranking the longest unresolved streaks for immediate action.

GitHub Actions Failure Streak Audit Setup

To start using this tool with your Openclaw Skills setup, first collect the run data using the GitHub CLI:

gh run view <run-id> --json databaseId,workflowName,headBranch,headSha,createdAt,updatedAt,conclusion,url,repository,jobs > artifacts/github-actions/run-<run-id>.json

Then, execute the audit script from your terminal:

RUN_GLOB='artifacts/github-actions/*.json' \
WARN_STREAK=2 \
CRITICAL_STREAK=4 \
bash skills/github-actions-failure-streak-audit/scripts/failure-streak-audit.sh

GitHub Actions Failure Streak Audit Data Schema & Taxonomy

The skill processes JSON exports and produces structured audit reports. The input schema utilizes the following key fields from the GitHub API:

Field Type Description
databaseId String Unique identifier for the GitHub Action run
workflowName String The name of the specific CI workflow
conclusion String The final status (e.g., failure, success, cancelled)
repository Object Details of the source repository
headBranch String The branch associated with the workflow run

The Openclaw Skills output includes a summary object, a list of active streaks, and a filtered list of critical_streaks for automated reporting.

GitHub Actions Failure Streak Audit Advanced Features

  • Custom threshold configuration via WARN_STREAK and CRITICAL_STREAK to align with team-specific SLAs.
  • Regex-based filtering for WORKFLOW_MATCH and REPO_MATCH to target specific microservices or pipelines.
  • Fail-gate integration using FAIL_ON_CRITICAL=1, which returns a non-zero exit code if stability thresholds are breached.
  • Multi-format support, allowing users to output raw JSON for integration into custom dashboards powered by Openclaw Skills.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Bins bashpython3
Github Stars: 0
forks: 0

Featured*