gh-check-ci-status

Check CI/CD status of a pull request including workflow runs and test results. Use when verifying if PR checks are passing or investigating CI failures.

⭐6stars🔀1forks📁View on GitHub🕐Updated Dec 11, 2025⬇️1downloads

When & Why to Use This Skill

This Claude skill provides a comprehensive interface for monitoring and managing GitHub CI/CD pipelines directly within the chat. It enables developers to verify pull request status, investigate workflow failures through detailed logs, and rerun failed checks, significantly streamlining the DevOps workflow and ensuring code quality before merging.

Use Cases

  • Pre-merge Verification: Automatically check if all required CI/CD status checks are passing to ensure a pull request is safe to merge and meets quality standards.
  • CI Failure Investigation: Quickly identify failed workflow runs and retrieve specific error logs to diagnose and fix build, linting, or test regressions.
  • Real-time Pipeline Monitoring: Track the progress of active CI jobs in real-time using watch commands to manage development timelines more effectively.
  • Automated Re-testing: Efficiently rerun failed GitHub Actions workflows or specific jobs to validate fixes without needing to navigate the GitHub web UI.
namegh-check-ci-status
description"Check CI/CD status of a pull request including workflow runs and test results. Use when verifying if PR checks are passing or investigating CI failures."
categorygithub
agenttest-engineer
user-invocablefalse

Check CI Status

Verify CI/CD status of a pull request and investigate failures.

When to Use

  • Verifying PR is ready to merge
  • Investigating CI failures
  • Monitoring long-running CI jobs
  • Checking before pushing changes

Quick Reference

# Check PR CI status
gh pr checks <pr>

# Watch CI in real-time
gh pr checks <pr> --watch

# Get detailed status
gh pr view <pr> --json statusCheckRollup

# View failed logs
gh run view <run-id> --log-failed

# Rerun failed checks
gh run rerun <run-id>

Workflow

  1. Check status: Run gh pr checks <pr> to see all checks
  2. Identify failures: Look for ✗ (failed) or ○ (pending)
  3. View logs: Use gh run view to see failure details
  4. Fix locally: Reproduce issue locally and test
  5. Push fix: Commit and push changes
  6. Verify: Watch CI with --watch flag

Common CI Failures

Pre-commit issues (formatting/linting):

just pre-commit-all  # Fix locally
git add . && git commit --amend --no-edit
git push --force-with-lease

Test failures:

mojo test tests/          # Run locally
pytest tests/             # Python tests
# Fix code and retest

Workflow validation:

gh workflow view <name>   # Check syntax
gh run rerun <run-id>     # Rerun failed

Status Indicators

  • ✓ - Passing
  • ✗ - Failed
  • ○ - Pending/In progress
  • - - Skipped

Error Handling

Problem Solution
No checks found PR may not trigger CI (check workflow)
Pending forever Check logs for stuck jobs
Auth error Verify gh auth status
API rate limit Wait or authenticate properly

Pre-Merge Verification

Before merging:

  • All required checks passing
  • No pending checks
  • Latest commit has checks
  • Branch up-to-date with base
gh pr checks <pr>          # All passing?
gh pr view <pr>            # Up-to-date?
gh pr diff <pr>            # Changes correct?

References

  • See .github/workflows/ for CI configuration
  • See CLAUDE.md for development workflow