Quick GitHub PR Checks from the Terminal
J
February 17, 20261 min read5 views
Share:
Need to check if your PR passed CI without opening a browser? The gh CLI makes it easy.
Check PR Status
gh pr checks 55 --repo owner/repoThis shows all workflow runs and their status (โ pass, โ fail, โฆ pending).
View Recent Runs
gh run list --repo owner/repo --limit 10See Why a Run Failed
gh run view <run-id> --repo owner/repo --log-failedThis dumps only the failed step logs โ no more scrolling through pages of green checkmarks.
Bonus: JSON Output
For scripting or AI assistants:
gh issue list --repo owner/repo --json number,title --jq ".[] | \"\(.number): \(.title)\""I use this to get CI status updates in my daily briefings without leaving the terminal.
Comments (0)
No comments yet. Be the first to comment!