Search

PythonReactSEOPDF
OpenClaw

github-actions-merge-queue-health-audit

Audit GitHub merge queue workflow health with failure-rate, queue-latency, and stale-success risk scoring.

daniellummis0 source installs☆ 0 Repository starsv1.0.0

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install daniellummis/github-actions-merge-queue-health-audit

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

GitHub Actions Merge Queue Health Audit

Use this skill to catch unhealthy merge_group (or pull-request gate) workflows before queue times and failures block merges.

What this skill does

  • Reads GitHub Actions run JSON exports
  • Focuses on merge queue style events (merge_group by default)
  • Aggregates health by repo/workflow (or repo/workflow/branch)
  • Scores risk using failure rate, queue latency, and stale-success age
  • Emits ok / warn / critical with optional CI fail gate

Inputs

Optional:

  • RUN_GLOB (default: artifacts/github-actions/*.json)
  • TOP_N (default: 20)
  • OUTPUT_FORMAT (text or json, default: text)
  • GROUP_BY (repo-workflow or repo-workflow-branch, default: repo-workflow)
  • NOW_ISO (optional ISO timestamp override for deterministic replay)
  • EVENTS (comma list, default: merge_group)
  • WARN_FAILURE_RATE (0..1, default: 0.2)
  • CRITICAL_FAILURE_RATE (0..1, default: 0.4)
  • WARN_P95_QUEUE_MINUTES (default: 8)
  • CRITICAL_P95_QUEUE_MINUTES (default: 20)
  • WARN_STALE_SUCCESS_HOURS (default: 18)
  • CRITICAL_STALE_SUCCESS_HOURS (default: 48)
  • MIN_RUNS (default: 3)
  • WORKFLOW_MATCH / WORKFLOW_EXCLUDE (regex, optional)
  • BRANCH_MATCH / BRANCH_EXCLUDE (regex, optional)
  • REPO_MATCH / REPO_EXCLUDE (regex, optional)
  • EVENT_MATCH / EVENT_EXCLUDE (regex, optional)
  • FAIL_ON_CRITICAL (0 or 1, default: 0)

Collect run JSON

gh run view <run-id> \
  --json databaseId,workflowName,event,headBranch,status,conclusion,createdAt,runStartedAt,updatedAt,url,repository \
  > artifacts/github-actions/run-<run-id>.json

Run

Text report:

RUN_GLOB='artifacts/github-actions/*.json' \
bash skills/github-actions-merge-queue-health-audit/scripts/merge-queue-health-audit.sh

JSON output + fail gate:

RUN_GLOB='artifacts/github-actions/*.json' \
OUTPUT_FORMAT=json \
FAIL_ON_CRITICAL=1 \
bash skills/github-actions-merge-queue-health-audit/scripts/merg...

Source information

Source
github
Repository
openclaw/skills
Path
skills/daniellummis/github-actions-merge-queue-health-audit
Version
1.0.0
Commit
775a8af162b1b036cba8b8d7a2ac0a3c4bbc0ef8
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

Extracted content

SKILL.md
# GitHub Actions Merge Queue Health Audit

Use this skill to catch unhealthy `merge_group` (or pull-request gate) workflows before queue times and failures block merges.

## What this skill does
- Reads GitHub Actions run JSON exports
- Focuses on merge queue style events (`merge_group` by default)
- Aggregates health by repo/workflow (or repo/workflow/branch)
- Scores risk using failure rate, queue latency, and stale-success age
- Emits `ok` / `warn` / `critical` with optional CI fail gate

## Inputs
Optional:
- `RUN_GLOB` (default: `artifacts/github-actions/*.json`)
- `TOP_N` (default: `20`)
- `OUTPUT_FORMAT` (`text` or `json`, default: `text`)
- `GROUP_BY` (`repo-workflow` or `repo-workflow-branch`, default: `repo-workflow`)
- `NOW_ISO` (optional ISO timestamp override for deterministic replay)
- `EVENTS` (comma list, default: `merge_group`)
- `WARN_FAILURE_RATE` (0..1, default: `0.2`)
- `CRITICAL_FAILURE_RATE` (0..1, default: `0.4`)
- `WARN_P95_QUEUE_MINUTES` (default: `8`)
- `CRITICAL_P95_QUEUE_MINUTES` (default: `20`)
- `WARN_STALE_SUCCESS_HOURS` (default: `18`)
- `CRITICAL_STALE_SUCCESS_HOURS` (default: `48`)
- `MIN_RUNS` (default: `3`)
- `WORKFLOW_MATCH` / `WORKFLOW_EXCLUDE` (regex, optional)
- `BRANCH_MATCH` / `BRANCH_EXCLUDE` (regex, optional)
- `REPO_MATCH` / `REPO_EXCLUDE` (regex, optional)
- `EVENT_MATCH` / `EVENT_EXCLUDE` (regex, optional)
- `FAIL_ON_CRITICAL` (`0` or `1`, default: `0`)

## Collect run JSON

```bash
gh run view <run-id> \
  --json databaseId,workflowName,event,headBranch,status,conclusion,createdAt,runStartedAt,updatedAt,url,repository \
  > artifacts/github-actions/run-<run-id>.json
```

## Run

Text report:

```bash
RUN_GLOB='artifacts/github-actions/*.json' \
bash skills/github-actions-merge-queue-health-audit/scripts/merge-queue-health-audit.sh
```

JSON output + fail gate:

```bash
RUN_GLOB='artifacts/github-actions/*.json' \
OUTPUT_FORMAT=json \
FAIL_ON_CRITICAL=1 \
bash skills/github-actions-merge-queue-health-audit/scripts/merg...

Related skills

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...

OpenClaw

0protocol

0isone

Agents can sign plugins, rotate credentials without losing identity, and publicly attest to behavior.

OpenClaw

0x0-messenger

eijiac24

Send and receive P2P messages using disposable numbers and PINs. No servers, no accounts. Use for human notifications, approval flows, and agent-to-agent communication.