gh pr create and gh pr edit request Copilot Code Review
Introduced 2026-03-10 · score 0.96
HOW TO USE IT
When creating a pull request, request Copilot review with `gh pr create --reviewer @copilot` or select Copilot in the interactive reviewer prompt. For an existing pull request, use `gh pr edit [<number> | <url> | <branch>] --add-reviewer @copilot` (provide the PR number if its branch is not checked out).
gh pr create --reviewer @copilotgh pr edit <PR-NUMBER> --add-reviewer @copilotWHY THIS HELPS
Request Copilot Code Review when creating or editing a pull request.
REQUIREMENTS AND LIMITATIONS
- Version: v2.88.0
- gh pr create --reviewer <handle>: Request reviews from people or teams by handle; `@copilot` requests Copilot review.
- gh pr edit [<number> | <url> | <branch>]: Select the pull request to edit; without an argument, selects the pull request for the current branch.
- gh pr edit --add-reviewer <login>: Add or re-request a reviewer; `@copilot` requests Copilot review.
- Prerequisite: GitHub CLI must be installed and authenticated; access to Copilot is required.
- Prerequisite: Requesting a pull request review requires write access to the repository.
- Docs conflict: The current `gh pr edit` manual says `@copilot` review requests are not supported on GitHub Enterprise Server. The cited CLI Copilot review docs do not state this platform limitation.
FIRST-PARTY EVIDENCE
- https://github.com/cli/cli/releases/tag/v2.88.0
- https://docs.github.com/en/copilot/how-tos/use-copilot-agents/request-a-code-review/use-code-review?tool=cli
- https://cli.github.com/manual/gh_pr_create
- https://cli.github.com/manual/gh_pr_edit
- https://docs.github.com/en/pull-requests/how-tos/create-pull-requests/requesting-a-pull-request-review
Check the installed version and the source before using it. Entry JSON