OS Manuals

gh-pr-checks(1)

gh-pr-checks - Show CI status for a single pull request

GH-PR-CHECKS(1) GitHub CLI manual GH-PR-CHECKS(1)

gh-pr-checks - Show CI status for a single pull request

gh pr checks [<number> | <url> | <branch>] [flags]

Show CI status for a single pull request.

Without an argument, the pull request that belongs to the current branch is selected.

When the --json flag is used, it includes a bucket field, which categorizes the state field into pass, fail, pending, skipping, or cancel.

Additional exit codes: 8: Checks pending

Exit watch mode on first check failure

Refresh interval in seconds in watch mode

Filter JSON output using a jq expression

Output JSON with the specified fields

Only show checks that are required

Format JSON output using a Go template; see "gh help formatting"

Watch checks until they finish

Open the web browser to show details about checks

Select another repository using the [HOST/]OWNER/REPO format

bucket, completedAt, description, event, link, name, startedAt, state, workflow

0: Successful execution

1: Error

2: Command canceled

4: Authentication required

NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information.

gh-pr(1)

Oct 2026

gh 2.102.0-r2 · os · ingested 2026-10-10