OS Manuals

gh-pr-review(1)

gh-pr-review - Add a review to a pull request

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

gh-pr-review - Add a review to a pull request

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

Add a review to a pull request.

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

Approve pull request

Specify the body of a review

Read body text from file (use "-" to read from standard input)

Comment on a pull request

Request changes on a pull request

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

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.

# Approve the pull request of the current branch
$ gh pr review --approve
# Leave a review comment for the current branch
$ gh pr review --comment -b "interesting"
# Add a review for a specific pull request
$ gh pr review 123
# Request changes on a specific pull request
$ gh pr review 123 -r -b "needs more ASCII art"

gh-pr(1)

Oct 2026

gh 2.102.0-r1 · os · ingested 2026-10-09