ghpr review status
ghpr review status - check the current review status of a pull request
SYNOPSIS
Section titled “SYNOPSIS”ghpr review status <pr> [options]DESCRIPTION
Section titled “DESCRIPTION”Display the current review status of a pull request, including pending reviewers, submitted reviews, and whether there are unresolved comment threads. Supports multiple output formats for both human reading and automation.
ARGUMENTS
Section titled “ARGUMENTS”| Argument | Required | Description |
|---|---|---|
<pr> | Yes | Pull request number |
OPTIONS
Section titled “OPTIONS”| Option | Description |
|---|---|
-t, --token <token> | GitHub personal access token |
-r, --repo <owner/repo> | Repository in owner/repo format |
-f, --format <format> | Output format: text (default), json, markdown |
EXIT CODES
Section titled “EXIT CODES”| Code | Meaning |
|---|---|
0 | Success |
3 | Error (API error, auth error, PR not found) |
OUTPUT
Section titled “OUTPUT”The command displays:
- PR title, state, author, and branch info
- Pending/requested reviewers
- Submitted reviews with state and timestamp
- Whether there are unresolved comment threads
- Summary status: “Ready to merge” / “Changes requested” / “Awaiting review”
EXAMPLES
Section titled “EXAMPLES”Basic Status Check
Section titled “Basic Status Check”ghpr review status 123JSON Output for Scripting
Section titled “JSON Output for Scripting”ghpr review status 123 --format jsonMarkdown Output
Section titled “Markdown Output”ghpr review status 123 -f markdownCheck Status in Another Repository
Section titled “Check Status in Another Repository”ghpr review status 123 --repo myorg/myrepoParse JSON Output with jq
Section titled “Parse JSON Output with jq”ghpr review status 123 --format json | jq '.reviews[] | select(.state == "APPROVED")'SEE ALSO
Section titled “SEE ALSO”- ghpr review request - Request a review
- ghpr review wait - Wait for review completion
- ghpr comment list - List comment threads