// answer

Make Copilot code review catch more issues before merge

Short answer

Use draft pull requests, turn on automatic review, raise review effort to Balanced, add project-specific instructions, and request re-review after major changes so Copilot sees the latest risk.

Other people are working this out at the same time: See what people are building

How can I make Copilot code review catch more issues before merge

Use Copilot earlier, give it clearer context, and force a fresh look after important changes. The most effective setup is a draft pull request, automatic review on draft PRs, Balanced review effort, and a re-review before merge. GitHub documents this workflow as the way to catch issues before human review and before merge.

Start with draft pull requests. GitHub says reviewing drafts gives you an early check before you request human review, which is where many obvious bugs should be removed first. If you wait until the PR is already “ready,” Copilot sees less time and fewer rounds to inspect the code, and the team spends human review time on basic fixes instead of actual product decisions.

Turn on automatic review for draft pull requests in repository or organization settings. GitHub’s configuration page lets you select “Review draft pull requests,” and the tutorial recommends that as a useful option for catching errors early. The part people get wrong is assuming Copilot will keep reviewing automatically after every meaningful change. It will not always do that unless you configure the workflow and ask for re-review when the diff changes substantially.

Raise review effort to Balanced when the PR contains complex logic, security-sensitive code, or cross-service changes. GitHub documents Balanced as the deeper analysis mode, while Lite is the standard review. If you leave the default on a high-risk change, you are choosing speed over inspection depth, and that usually shows up as missed edge cases, weak validation, or logic that only fails under a specific path.

Add repository-specific instructions in .github/copilot-instructions.md or the code-review customization settings so Copilot knows what matters in your codebase. GitHub’s customization guidance says tailored instructions make reviews more effective, especially when they describe the tools, project conventions, security expectations, and the kinds of mistakes you care about. Generic review text is easy to satisfy and easy to ignore; specific review rules make the model look in the right places.

Write instructions that name the failure modes you actually see. For example, tell Copilot to check authentication and authorization paths, input validation, error handling, backward compatibility, race conditions, and unsafe assumptions around null or missing data. GitHub’s example custom instructions point in that direction, and the more concrete you are, the more likely Copilot is to comment on the exact class of issue your team keeps shipping.

Use the pull request description to supply context Copilot can actually use. GitHub says Copilot code review becomes more likely to use skills and MCP context when the repository or PR gives clear signals, such as review-focused skill directories, custom instructions that reference MCP context, and PR descriptions that include configured identifiers like issue keys or incident IDs. If the PR is just “fix stuff,” Copilot has less to anchor its review on.

Keep the review surface small. Smaller, focused pull requests are easier for Copilot to inspect than large mixed changes, because the review can stay tied to one behavior or one subsystem. GitHub’s review workflow is built around reviewing the PR changes, then re-reviewing after substantial edits. If one PR combines refactors, feature work, and cleanup, you make it harder for Copilot to separate a real defect from a deliberate change.

Request re-review after substantial changes. GitHub explicitly recommends re-review after you address feedback or change the code in a meaningful way, because new risks can be introduced while you are fixing earlier ones. This is the inconvenient part people skip: the first review was for the original diff, not the final one. If you do not ask for another review, you are trusting an outdated inspection.

Do not rely on Copilot alone. GitHub says Copilot is not guaranteed to spot all problems and can make mistakes, so its feedback must be validated carefully and supplemented with human review. The right setup is Copilot for earlier, wider catching of obvious issues, then a human reviewer for design judgment, tradeoffs, and anything that needs product knowledge.

Pair Copilot review with GitHub Code Quality if your goal is fewer misses before merge. GitHub says Code Quality adds rules-based CodeQL analysis, coverage metrics on pull requests, one-click fixes, and optional merge gating for unresolved findings or missing coverage thresholds. That matters because Copilot comments are helpful, but rules-based checks can block known classes of defects that an LLM may not consistently catch.

If you want a concrete workflow, use this sequence: open the branch as a draft PR, let Copilot review it automatically, fix the highest-confidence issues first, push the changes, request re-review, and only then mark the PR ready for human review. GitHub describes that sequence directly, and it is the most reliable way to get Copilot to see more issues before merge.

If you are already using GitHub Copilot in GitHub or an IDE, keep the review instructions close to the repo, not in someone’s memory. GitHub’s prompt-file and customization docs show that review behavior is driven by files and settings in the repository or IDE, which makes the process repeatable. A review rule that lives only in a team chat disappears the moment someone new opens a PR.

The part people get wrong is asking Copilot to be “more thorough” without changing anything else. That does almost nothing. What changes the result is earlier review, stronger context, deeper effort, and a second pass after the diff changes. The inconvenient part is that those steps add process, but they also move the easy failures out of merge day, which is the point.

If you need the mechanics for the repository you own, the GitHub documentation for configuring code review and the workflow tutorial are the two pages to follow first. If you want a place to organize testing work around the same discipline, DevConnect is the right kind of exchange because it keeps the work on owned assets, but it is separate from GitHub’s review settings.

Frequently asked questions

Should I use Lite or Balanced for important pull requests

Use Balanced for complex, security-sensitive, or cross-service changes. GitHub describes it as the deeper analysis mode. Lite is the standard review and is less demanding.

Will Copilot automatically review every push after I enable it

Not always. GitHub says you should request re-review after substantial changes, and the review setup can be configured for draft pulls and new pushes.

Can Copilot approvals replace human approval before merge

GitHub supports configurable approval behavior, but Copilot is not guaranteed to catch all problems. Human review still matters for correctness, design, and product judgment.

What should I put in custom instructions

Put the failure modes and standards your team cares about, such as auth checks, validation, security-sensitive code, performance traps, and repository-specific conventions.

Know someone stuck on this? Send them the answer.

Sources

Every link here was fetched and confirmed to resolve before this page went live.

More on this topic: Building with AI

Related questions

Not the question you had?

Ask it. Every source gets fetched and checked before anything goes up, so it takes a day or two, and questions that cannot be answered honestly do not get a page at all.

No account, no email address needed.

Everyone here builds with AI, and says so

DevConnect is for developers who use AI and are honest about it. The interesting part is not that the code was generated, it is what you did with it afterwards.