Monitor GitHub Actions CI completion

pr-checksskillsetup L21,102
wasabeef/claude-code-cookbook
What it does

Monitor GitHub Actions CI status until completion

Best for

Blocking until all GitHub Actions CI checks pass before merging to main, with automated failure analysis.

Inputs
  • · GitHub PR context (branch and repo)
  • · gh CLI configured with repo access
Outputs
  • · CI check status table (test, lint, security, type check results)
  • · Pass/fail verdict and URLs to failed checks
  • · Suggestion for fixes if checks fail
Requires
  • · gh pr checks CLI command
  • · gh run CLI for detailed check info
  • · gh pr view for PR metadata
Preconditions
  • · PR exists on current branch
  • · GitHub Actions workflow configured
  • · gh CLI installed and authenticated
Failure modes
  • · Check in progress: wait and re-run gh pr checks
  • · Check failed: analyze output and suggest fixes
  • · No checks configured: workflow file missing from repo
Trust signals
  • · Uses authoritative gh CLI (not log scraping)
  • · Shows actual check URLs for human investigation
  • · Reports completion counts: passed/failed/skipped/pending