GitHub Actions Failure Phase Audit for Openclaw

A diagnostic tool that categorizes GitHub Actions failures into phases like build, test, and deploy to rank hotspots by time impact.

daniellummis
v1.0.0
Mar 6, 2026
0
810
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install github-actions-failure-phase-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-phase-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 Phase Audit?

This skill provides a deep-dive analysis into CI/CD performance by auditing GitHub Actions run data. It goes beyond simple failure notifications by grouping errors into logical pipeline phases such as setup, build, test, lint, deploy, and security. By integrating this Openclaw Skills utility into your workflow, you can move from reactive troubleshooting to data-driven pipeline optimization.

The core value lies in its ability to calculate the minute impact of failures. Instead of just seeing that a job failed, you can see exactly which phase is burning the most developer time across your organization. This makes it an essential tool for DevOps engineers and tech leads who need to justify infrastructure improvements or prioritize CI/CD maintenance tasks.

GitHub Actions Failure Phase Audit Use Cases

  • Identifying which pipeline stages are causing the most significant delays in the development lifecycle.
  • Ranking flaky tests or brittle build steps based on their actual time cost to the team.
  • Auditing multiple repositories and workflows simultaneously to find common failure patterns.
  • Creating automated quality gates that alert teams when CI/CD inefficiency exceeds a defined threshold.

How GitHub Actions Failure Phase Audit Works

  1. The user exports GitHub Actions run data into JSON files using the gh CLI tool.
  2. The Openclaw Skills script reads these JSON exports and identifies the first non-success step for every failed, cancelled, or timed-out job.
  3. It maps each failure to a specific phase (e.g., mapping a 'npm test' failure to the 'test' phase).
  4. The tool aggregates the data by repository, workflow, and phase to identify hotspots.
  5. It generates a ranked report or JSON object based on the total impacted minutes and failure frequency.

GitHub Actions Failure Phase Audit Setup

To start using this skill, ensure you have bash and python3 installed. First, collect your run data using the GitHub CLI:

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

Then, execute the audit script provided by this Openclaw Skills package:

RUN_GLOB='artifacts/github-actions/*.json' \
bash skills/github-actions-failure-phase-audit/scripts/failure-phase-audit.sh

GitHub Actions Failure Phase Audit Data Schema & Taxonomy

The skill processes and organizes data based on the following taxonomy:

Attribute Description
Phase Mapping setup, build, test, lint, deploy, security, other
Inputs RUN_GLOB, TOP_N, OUTPUT_FORMAT, WARN_MINUTES, CRITICAL_MINUTES
Filters Regex support for WORKFLOW, REPO, BRANCH, and PHASE
Output JSON Contains summary, hotspots, and critical_hotspots objects

GitHub Actions Failure Phase Audit Advanced Features

  • Customizable failure thresholds using WARN_MINUTES and CRITICAL_MINUTES to trigger alerts.
  • Strict CI/CD gating using FAIL_ON_CRITICAL=1 to ensure that highly inefficient runs block further progress.
  • Advanced regex filtering to include or exclude specific repositories, branches, or workflows from the audit.
  • Multi-format support allowing for human-readable text reports or machine-parseable JSON for integration with other Openclaw Skills.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Bins bashpython3
Github Stars: 0
forks: 0

Featured*