Skip to main content
Post

Copilot code review: Adaptive effort, secret detection, and more

GitHub added an Adaptive review effort option to Copilot code review, now in public preview. Instead of you picking Lite, Balanced, or Max for each pull request, Copilot looks at the PR's complexity and risk and chooses for you. A docs-only change can get a quick pass, while a change to authentication logic can get the deepest review. Each review shows which level Adaptive picked.

You can select Adaptive for a single pull request from the Reviewers bar. You can also set it as the default in personal, repository, organization, or enterprise settings. Balanced is still the default unless you change it. Adaptive never goes above the maximum review effort set for your enterprise, organization, or repository, so that limit decides which levels it can choose from.

The same release adds two more public-preview pieces:

  • Cross-repository context lets Copilot read related public repositories during a review. It can find code elsewhere that depends on your change, plus documentation, custom instructions, and skills stored in other repositories.
  • Secret detection flags exposed credentials in pull requests. It uses both deterministic and non-deterministic approaches and reports them in review comments, so you can remove them before merging.

Adaptive, cross-repository context, and secret detection are available on Copilot Pro, Pro+, Max, Business, and Enterprise plans. Features in public preview can change.

Loading replies