Skip to main content

Enabling GitHub Copilot code review in your enterprise

Apply consistent standards by having Copilot review every pull request.

Who can use this feature?

Enterprise owners

Important

Starting June 1, 2026, Copilot code review runs will consume GitHub Actions minutes. For more details on this and how to prepare, see Pricing and usage cost considerations for Copilot code review.

GitHub Copilot can review pull requests in your enterprise. This can save time for human reviewers by detecting bugs or vulnerabilities and enforcing consistent coding standards.

Enabling Copilot code review for your Copilot subscribers

The policy for Copilot code review allows your licensed users to request reviews from Copilot and use Copilot to generate pull request summaries.

  1. Navigate to your enterprise. For example, from the Enterprises page on GitHub.com.
  2. At the top of the page, click AI controls.
  3. Scroll down to "Available Agents", then click Copilot code review.
  4. Next to "Copilot code review", select a policy.

Next steps

  • If you selected Enabled everywhere, tell organization owners that these features are enabled for all members.
  • If you selected Let organizations decide, discuss member enablement with organization owners.

Configuring automatic code review

To apply standards consistently, you can configure Copilot code review to run automatically on all pull requests opened across your enterprise or in specific repositories.

  1. Create an enterprise-level branch ruleset. See Enforcing code governance in your enterprise with rulesets.
  2. Target the organizations and repositories where Copilot code review should run automatically. You may want to start with a small selection of repositories and run a trial to collect feedback.
  3. Enable the Automatically request Copilot code review policy.
  4. Optionally, enable the additional settings. By reviewing on every push and reviewing draft pull requests, you will add consistency to the review process. However, you will also create more noise for developers. If you're running a pilot, consider starting with the basic setting to allow developers to get used to the new process first.
  5. Click Create.

Customizing reviews

Encourage organization and repository administrators to create custom instructions for Copilot code review so that reviews will be tailored to your coding standards and conventions. See Using custom instructions to unlock the power of Copilot code review.