CI Status

Check CI status for current branch or PR, show failed job logs

denisovav c4b2584 763 B Updated

File contents

CI Status Check

Steps

  1. Determine target:

    • If argument is a PR number, use that
    • Otherwise, find PR for current branch: gh pr list --head $(git branch --show-current) --json number -q '.[0].number'
    • If no PR found, check latest workflow runs: gh run list --branch $(git branch --show-current) --limit 3
  2. Show check status:

    gh pr checks <PR_NUMBER>
    
  3. If any checks failed, show failed logs:

    gh run view <RUN_ID> --log-failed 2>&1 | tail -80
    
  4. Summarize:

    • Which jobs passed/failed/pending
    • For failures: root cause from logs (error message, not full log)
    • Suggest fix if obvious

denisovav/flutter_gemma/tree/main/.claude/skills/ci-status commit c4b2584b4a

Frequently asked questions

npx skillmds@latest add denisovav/ci-status