When a grouped fix PR touches several owners, each owner should approve the files they own, or you should split the PR so each team gets its own. GitHub requests code owners for review automatically, and an admin can require code owner approval before merge. Decide the rule before the first group lands.
What CODEOWNERS does
GitHub's documentation says code owners are automatically requested for review when someone opens a pull request that modifies code they own, and that they are not requested on draft pull requests. When review is required, an admin or owner can also require approval from a code owner before the author can merge. In the file, the last matching pattern takes the most precedence, so order matters.
A grouped PR that changes a lockfile and manifests in several directories can match several owners at once. That is the correct result, and it is also a coordination problem.
Three ways to handle it
| Option | How it works | Trade off |
|---|---|---|
| One PR, every owner approves | CODEOWNERS requests each team, all must approve | Slow if one team is busy |
| Split by directory | The bot opens one PR per directory or team | More PRs, faster independent merges |
| One PR, one designated approver | A platform or security reviewer approves on behalf | Needs trust and a clear rule |
For multi directory updates, Dependabot can group across directories using group-by dependency name, per its options reference, which reduces duplicate PRs for the same package. Check that the result still routes to the right teams.
Choose by risk
If the update is a low risk patch across many services, a single reviewer with a clear rule saves effort. If it touches code paths owned by different teams who each carry on call duty, give each team a vote, because each will be woken if it breaks.
Avoid the single bottleneck
If every grouped PR needs the same overloaded team, the process will stall. Look for ways to spread review: group by team, route to a rotating reviewer, or use a lighter path for routine updates. See use CODEOWNERS to route dependency changes to the right reviewer and fix PRs in a monorepo: directories, ownership and noise.
Watch for pattern mistakes
CODEOWNERS pitfalls apply here, since a broad pattern can swallow a specific one. See CODEOWNERS file pitfalls: last match wins. Test the routing by opening a trivial PR that touches two directories and checking who is requested.
Record the decision
Write the rule in the contributing guide: which kinds of grouped PRs need all owners, which need one. A rule people can find prevents the argument at 5 p.m. on a Friday. For separation of duties questions, see separation of duties in patch approval and deployment.
After merge
All owners share the watch. Name one lead for the deploy and tell the others. If the group fails, the bisect approach in find the guilty update in a grouped fix PR with git bisect helps you find which part belongs to whom.
Safeguard can open fix pull requests through autonomous remediation. It is off by default and every category starts on Manual, so a person approves each change. You can also run a free scan to see which dependencies have known fixes before you decide what to automate.
Quick check
Does a bot PR trigger code owner review?
GitHub's documentation says code owners are requested when a pull request modifies code they own. Check how your repository rules treat the bot as author.
Should I split every grouped PR by team?
Not necessarily. Split when ownership is divided and teams carry separate on call duty.
Sources
Last reviewed: 19 October 2026.