Skip to content

ghpr review request

ghpr review request - request a review from a user, team, or GitHub Copilot

Terminal window
ghpr review request <pr> <target> [options]

Request a review on a pull request from a GitHub user, team, or GitHub Copilot. When targeting a user or team, the command first attempts to add the target as a user reviewer. If that fails, it tries adding as a team reviewer (since usernames can contain dashes that might look like team slugs).

For Copilot reviews, the command uses GitHub’s copilot-pr-review endpoint.

ArgumentRequiredDescription
<pr>YesPull request number
<target>YesReviewer: GitHub username, team slug, or copilot
OptionDescription
-t, --token <token>GitHub personal access token
-r, --repo <owner/repo>Repository in owner/repo format
CodeMeaning
0Review requested successfully
3Error (API error, auth error, invalid target)
Terminal window
ghpr review request 123 johndoe
Terminal window
ghpr review request 123 platform-team
Terminal window
ghpr review request 123 copilot
Terminal window
ghpr review request 123 johndoe --repo myorg/myrepo
Terminal window
ghpr review request 123 johndoe --token ghp_xxxxxxxxxxxx