GitHub Copilot Code Review: Cross-Repository Context for Public Repositories
During a review, Copilot can now read related public repositories to find code that depends on a change, plus relevant documentation, custom instructions and skills. The preview is limited to public repositories. GitHub's example shows a comment flagging a call that uses an outdated function signature from another repository.
Key Takeaways
- Copilot can read related public repositories during a review.
- It looks for dependent code, documentation, custom instructions and skills.
- Cross-repo breakage becomes visible, such as a call using an outdated function signature.
- Only public repositories are supported in this preview.
- It runs automatically in review, with no separate workflow for the reviewer.
- It is available on Pro, Pro+, Max, Business and Enterprise plans and may change.
Reviews That Look Beyond One Repository
Copilot code review gained cross-repository context in public preview. While reviewing a pull request, Copilot can read related public repositories to find code that depends on the change, along with relevant documentation, custom instructions and skills.
What It Catches
The clearest benefit is spotting breakage that a single-repository diff hides. GitHub's example shows a review comment flagging a call that uses an outdated function signature defined in another repository.
Limits
The preview applies to public repositories only. It is available on Copilot Pro, Pro+, Max, Business and Enterprise plans, and may change while in preview.