gh-pr-review - Add a review to a pull request
Contents
Description
Add a review to a pull request.
Without an argument, the pull request that belongs to the current branch is reviewed.
Example
# 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"
Name
gh-pr-review - Add a review to a pull request
Options
-a, --approve
Approve pull request
-b, --body<string>
Specify the body of a review
-F, --body-file<file>
Read body text from file (use "-" to read from standard input)
-c, --comment
Comment on a pull request
-r, --request-changes
Request changes on a pull request
Options Inherited From Parent Commands
-R, --repo<[HOST/]OWNER/REPO>
Select another repository using the [HOST/]OWNER/REPO format
See Also
gh-pr(1) Jan 2025 GH-PR-REVIEW(1)
Synopsis
ghprreview[<number>|<url>|<branch>][flags]
