Terminal-Based Code Review Requests
GitHub Copilot is now available as a reviewer option in the GitHub CLI, allowing developers to request AI-powered code reviews without leaving their terminal. This integration works with both new pull request creation and editing existing requests.
How to Use
Non-interactive workflow: Add Copilot as a reviewer with a single command:
gh pr edit --add-reviewer @copilot
Interactive workflow: When using the interactive prompts in gh pr create and gh pr edit, Copilot appears alongside your team members as a selectable reviewer option, streamlining the review assignment process.
Performance Improvements
Beyond Copilot integration, this release introduces a significant improvement to the reviewer and assignee selection experience. Rather than loading all collaborators and teams upfront, the CLI now fetches results as you type. This dramatically improves performance for large organizations with hundreds or thousands of team members and resolves accessibility issues where screen readers were previously reading thousands of options aloud.
Requirements
This feature requires GitHub CLI v2.88.0 or later and is available to users on plans that include Copilot code review. Users can upgrade using their package manager or download the latest version directly from the GitHub CLI repository.
Developers encountering issues or with feedback are encouraged to open an issue in the cli/cli repository.