Check-run counts are a review prompt, not proof that every required branch protection rule is satisfied., Repositories with more than 100 check runs may need pagination or a slower dedicated dashboard., Keep the refresh interval moderate so the statusline does not repeatedly query GitHub APIs.
Privacy notes
The script prints aggregate check-run counts and the pull request number., Private repository metadata follows the local GitHub CLI account and may appear in terminal recordings., The statusline does not print check names, workflow names, branch names, or commit messages.
Author
MkDev11
Submitted by
MkDev11
Claim status
unclaimed
Last verified
2026-06-04
Decision playbook
Review trust signals before you adopt
Signals are present but mixed. Use the checklist below to confirm the source and operational safety for your environment.
Compare context
Selected
0
Current score
78
Baseline
—
Delta
No baseline selected
No major trust-signal divergence detected in the current selection.
Source and provenance checks
Complete
Confirm ownership and provenance before trusting install instructions.
Source link availableRequired
Open the canonical repository and verify ownership.
Done
Source provenance statusRequired
Marked as source-backed.
Done
Metadata reviewed
Registry metadata indicates a reviewed listing.
Done
Safety and privacy checks
Complete
Validate risk disclosures before installation or API wiring.
Safety notes presentRequired
Review the listed safety guidance before running commands.
Done
Privacy notes presentRequired
Review data handling notes before connecting accounts or secrets.
Done
Trust level risk gateRequired
Trust level does not block evaluation.
Done
Package and install checks
Needs review
Check package metadata and artifact integrity signals.
Install payload available
Install or copy payload is available for review.
Done
Package verification flag
No package verification flag provided.
Pending
Checksum metadata
No checksum provided for downloaded artifact.
Pending
Compare-driven decision checks
Needs review
Use compare context to validate trade-offs before adoption.
Compare tray has multiple entries
Add at least one more entry to compare trust differences.
GitHub's REST API description includes the check-runs endpoint for listing check runs on a Git reference.
This entry uses check-run state from the REST API rather than the GitHub CLI gh pr checks manual page that overlaps the existing repository-health statusline source domain.
Duplicate check
Checked existing statuslines, live HeyClaude statuslines, open pull requests, and repository content for github-check-runs-statusline, check runs, GitHub checks, and gh-pr-checks-statusline. The earlier CLI-docs submission was closed for overlapping cli.github.com; this replacement uses a different canonical source, title, slug, and REST check-run scope.
Disclosure
Editorial statusline recipe. No paid placement or affiliate link is used.
Show that GitHub Check Runs Statusline is listed on HeyClaude. Paste this Markdown into your README — it renders the badge and links back to this page.
[](https://heyclau.de/entry/statuslines/github-check-runs-statusline)
How it compares
GitHub Check Runs Statusline side by side with 3 alternatives on trust, install, platform support, and disclosed safety notes — all from reviewed registry metadata.
✓Check-run counts are a review prompt, not proof that every required branch protection rule is satisfied.
Repositories with more than 100 check runs may need pagination or a slower dedicated dashboard.
Keep the refresh interval moderate so the statusline does not repeatedly query GitHub APIs.
✓Closing keywords are workflow signals, not proof that the PR actually satisfies the linked issue.
Some repositories use manual issue closure or external trackers, so missing keywords should be interpreted with project policy.
Keep automated PR body edits separate from this read-only statusline.
✓Repository counts are orientation signals and should not replace issue triage, release gates, or maintainer review.
The `--limit 100` query cap keeps the statusline fast; very large queues may need a dedicated dashboard.
The script does not modify repository settings, issues, or pull requests.
✓Queue counts help with triage but do not rank urgency, security impact, or release blockers.
Draft PRs are excluded from the ready count, but repositories may use labels or checks for additional readiness rules.
Keep the refresh interval moderate to avoid repeated GitHub search calls.
Privacy notes
✓The script prints aggregate check-run counts and the pull request number.
Private repository metadata follows the local GitHub CLI account and may appear in terminal recordings.
The statusline does not print check names, workflow names, branch names, or commit messages.
✓The script prints only aggregate closing-reference counts and the pull request number.
It reads the pull request body, which can contain private planning details in private repositories.
Private repository access follows the local GitHub CLI account and organization policy.
✓The statusline prints repository owner/name, counts, default branch, and state.
Private repository metadata follows the local GitHub CLI login and may appear in terminal screenshots.
Organization policies can restrict which counts are visible to the local account.
✓The script prints aggregate counts only, not PR titles, authors, or branch names.
Private review requests follow the local GitHub account and may reveal workload size in screenshots.
Organization review-team rules may cause counts to differ from the GitHub web UI.
Prerequisites
GitHub CLI installed and logged in for the repository.
jq available for counting GitHub REST check-run states.
The current branch has an associated pull request and the account can read check runs for its head commit.
GitHub CLI installed and logged in for the current repository.
jq available for reading pull request JSON.
The current branch has an associated pull request with a body that can be read by the local account.
GitHub CLI installed and logged in with access to the current repository.
jq available for reading GitHub CLI JSON output.
A refresh interval that respects repository size and GitHub API rate limits.
GitHub CLI installed and logged in as the maintainer account whose review queue should be shown.
jq available for counting pull request fields.
Repository access that lets GitHub search return pull requests requesting the current account's review.