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.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/daniellummis/github-actions-trigger-health-auditWhat This Skill Does
The github-actions-trigger-health-audit skill is a sophisticated diagnostic tool designed to improve CI/CD reliability within software engineering teams. By analyzing GitHub Actions run history, this agent identifies systemic patterns in build failures, cancellations, and timeouts. Instead of viewing failures as isolated incidents, this skill groups historical run data by repository, workflow, and trigger event. It aggregates key metrics—such as failure rates and average runtime duration—to pinpoint 'noisy' workflows that consume excessive engineering resources and hinder developer velocity.
The skill supports powerful filtering via regex, allowing teams to exclude irrelevant noise (like dependency updates or minor documentation changes) while focusing on production-critical deployment pipelines. By setting custom thresholds, you can receive warnings for flaky processes and trigger automated failures in your CI pipeline if specific thresholds are breached, acting as a quality gate for your infrastructure.
Installation
To integrate this skill into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/daniellummis/github-actions-trigger-health-audit
Ensure that you have collected relevant GitHub Action run data in JSON format within your workspace, typically organized in an artifacts folder, before running the audit script.
Use Cases
- Pipeline Optimization: Identify which specific event triggers (e.g., 'pull_request' vs 'schedule') result in the highest failure rate to optimize test suites.
- Quality Gates: Automatically block releases or deployments if the health audit detects that critical workflows have crossed a 40% failure threshold.
- Flaky Test Reduction: Identify workflows that consistently time out or fail intermittently, signaling a need for test parallelization or environment stability improvements.
- Resource Management: Monitor the average runtime of workflows to flag performance regressions that contribute to increased infrastructure costs.
Example Prompts
- "OpenClaw, audit my GitHub Actions runs in artifacts/ and tell me which workflows are failing more than 30% of the time."
- "Run a health check on all repository workflows, filter out the 'dependabot' event, and report the results as a JSON object."
- "Execute a critical failure gate check for the last 50 runs. If any workflow has a critical failure rate, exit with a status of 1 to halt my deployment script."
Tips & Limitations
- Data Consistency: Ensure that all JSON run exports utilize the schema provided by
gh run view. Missing fields may result in inaccurate calculations. - Sample Size: Use the
MIN_RUNSparameter effectively; very small sample sizes can lead to misleading failure percentages due to outliers. - Regex Power: Leverage the
WORKFLOW_MATCHandREPO_MATCHfields to narrow the scope of analysis when working in large monorepos with hundreds of disparate workflow files. - Security: The skill reads local files generated from your GitHub environment. Ensure that your exported JSON files do not contain sensitive environment variables or secrets accidentally included in the GitHub Action run logs.
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-trigger-health-audit": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, code-execution
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-cancel-waste-audit
Audit cancelled and timed-out GitHub Actions runs from JSON exports to surface wasted CI minutes and noisy workflows.
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.