ghpr review request
ghpr review request - request a review from a user, team, or GitHub Copilot
SYNOPSIS
Section titled “SYNOPSIS”ghpr review request <pr> <target> [options]DESCRIPTION
Section titled “DESCRIPTION”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.
ARGUMENTS
Section titled “ARGUMENTS”| Argument | Required | Description |
|---|---|---|
<pr> | Yes | Pull request number |
<target> | Yes | Reviewer: GitHub username, team slug, or copilot |
OPTIONS
Section titled “OPTIONS”| Option | Description |
|---|---|
-t, --token <token> | GitHub personal access token |
-r, --repo <owner/repo> | Repository in owner/repo format |
EXIT CODES
Section titled “EXIT CODES”| Code | Meaning |
|---|---|
0 | Review requested successfully |
3 | Error (API error, auth error, invalid target) |
EXAMPLES
Section titled “EXAMPLES”Request Review from User
Section titled “Request Review from User”ghpr review request 123 johndoeRequest Review from Team
Section titled “Request Review from Team”ghpr review request 123 platform-teamRequest Review from GitHub Copilot
Section titled “Request Review from GitHub Copilot”ghpr review request 123 copilotSpecify Repository
Section titled “Specify Repository”ghpr review request 123 johndoe --repo myorg/myrepoUse Specific Token
Section titled “Use Specific Token”ghpr review request 123 johndoe --token ghp_xxxxxxxxxxxxSEE ALSO
Section titled “SEE ALSO”- ghpr review status - Check review status
- ghpr review wait - Wait for review completion