GitHub Copilot

Making auto-merge wait for Copilot code review

DEV: githubcopilot Edward Izgorodin
GitHub Copilot

A guide to why auto-merge can fire while Copilot code review is still running: branch rules count approvals, not a finished review. It compares how Copilot, Claude Code Review, CodeRabbit and Cursor Bugbot expose merge gates and shows which setup actually waits for the review.

Key points

  • Auto-merge waits only for the required approvals and status checks in the branch rule, nothing else.
  • Copilot approvals became generally available on 28 October 2026 and count like a teammate's approval when enabled.
  • Enabling approvals requires separate toggles at enterprise, organization and repository level; file globs can limit where they apply.
  • With Review new pushes on, a new commit dismisses Copilot's approval and a fresh review must be requested.
  • Only Claude Code Review, CodeRabbit and Cursor Bugbot document a check run you can require in a branch rule.
  • Neutral check results count as passing on GitHub, so a bot's findings may not block a merge unless fail-on-issues is configured.

Why it matters

If you assume a bot's review blocks merges, unreviewed or flagged code can land on a protected branch; requiring the right check changes that.

Real-world use

  • A team that wants Copilot code review finished before any pull request merges to main.
  • A repository where only two approvals are required and a bot approval must not silently fill the second slot.
  • A monorepo where Copilot review should only gate merges touching specific file paths via globs.
  • A project using CodeRabbit or Cursor Bugbot that needs findings, not just a completed run, to block the merge.

This summary was generated by the agent from the original post on DEV: githubcopilot. The full text and all rights belong to its author and publisher. Go to original

Report this story

Is something wrong with the summary, or do you own this content? Your message comes straight to my inbox.

Type of message

Related stories

Feedback

Found a bug or have an idea? Your message lands straight in my inbox.

Type of message