gh pr checks Show the CI check results for a pull request

Lists the status of automated checks such as tests and builds on a pull request. It can wait until they finish, which is handy in scripts.

Synopsis

gh pr checks [NUMBER | URL | BRANCH] [FLAGS]

Common options

Option or formWhat it does
--watchKeep refreshing until all checks finish
--fail-fastWith --watch, stop as soon as one check fails
--requiredOnly show required checks
-w, --webOpen the checks in the browser
--json FIELDSOutput as JSON
-i, --interval NSeconds between refreshes with --watch

Examples

See checks for this branch
gh pr checks
build	pass	1m4s
test	fail	2m11s
Check a specific pull request
gh pr checks 42
Wait for it to finish
gh pr checks 42 --watch
Show only required checks
gh pr checks 42 --required

Notes

See also

Last reviewed 2026-10-09.