Learning center

Should unattributed Copilot pull requests need an extra approval?

Keep the extra approval wherever people can ask Copilot for code from a shared channel or a shared automation. Such a pull request has no person as its author, so one required approval would mean one person in the change. Clear it only in repositories where you accept a single reviewer as the whole of human review for those pull requests.

What the setting does#

The ruleset option Require an additional approval for unattributed Copilot pull requests is in public preview and "is enabled by default, for both new and existing rulesets." When Copilot opens a pull request "that isn't attributed to a person, the ruleset requires one more approval than the number you configured. For example, a ruleset that requires one approval requires two approvals from people with write access." Additional approval for unattributed Copilot pull requests

The docs give the reason in one sentence: "Requiring one approval usually means two people are involved in a change: the person who wrote it and the person who approved it." That does not hold "when Copilot opens a pull request under its own app identity instead of on behalf of a person, for example when you prompt it from a shared context such as a group thread or channel."

Three limits define its reach. It "has no effect if the ruleset requires zero approvals." If you clear it, "these pull requests require only the number of approvals you configured." And if you clear it but also require approval of the most recent push, "at least one approval must cover the last push and come from someone other than Copilot." In the REST API the field is require_extra_approval_for_unattributed_changes, described as requiring "one more approving review if a non-zero approval count is required" when "Copilot opens a pull request without a human collaborator." Create a repository ruleset

Classic branch protection has no switch for it. GitHub's Copilot risk documentation says the extra approval "is enabled by default in rulesets, where administrators can turn it off, and always applies to branch protection rules." Risks and mitigations for Copilot cloud agent

Attributed and unattributed pull requests#

For an attributed pull request, a different control applies. GitHub "prevents the user who asked Copilot cloud agent to create a pull request from approving it," which "maintains the expected controls in the 'Required approvals' rule." Risks and mitigations for Copilot cloud agent The approval docs say the same from the reviewer's side: you cannot approve a Copilot pull request "if it was you who assigned Copilot to the issue to which the pull request relates." Approving a pull request with required reviews

Automations follow the same split. "Actions taken on GitHub by a shared automation are attributed to Copilot," and "an additional review will be required for pull requests created by a shared automation." A personal automation's actions "are attributed to the user who created the automation," who then cannot approve them. Automations run without a person initiating each task

A fictional channel request#

Suppose a fictional repository, acme/mobile, has a ruleset that requires one approval on main. During an incident, someone in a shared on-call channel asks Copilot to raise the API client's timeout from 10 to 30 seconds. Copilot opens the pull request under its own app identity, so no person is its author.

With the setting on, the pull request needs two approvals from people with write access. Ravi reviews and approves; the merge box still asks for another. Sara reads it, notices that the retry wrapper multiplies the timeout by the retry count, so the real wait is now 90 seconds on a phone, and asks for a lower value. With the setting cleared, Ravi's approval alone would have merged the change. Ravi's review was the only human review of the timeout change. No author had thought it through before he saw it.

What it does not catch#

The extra approval adds a person. It does not make that person read differently from the first. Two approvals given back to back during an incident can both miss the retry multiplier.

It only covers pull requests that Copilot opens without attribution. A person who opens a pull request with code Copilot or another agent wrote is its author, and the usual count applies. A shared automation that is not Copilot, such as a bot account with its own token, gets no extra approval.

Copilot's own approvals are a separate question. Copilot code review gained the ability to approve on 1 September 2026, in public preview and "off by default"; when enabled, its approval "counts toward the repository's required-approvals rule." Copilot code review can now approve pull requests The documentation does not yet agree with itself here: the how-to on approving with required reviews still says Copilot reviews "do not count toward those requirements," and neither page says whether a Copilot approval can count toward the extra approval on a Copilot-opened pull request. If you turn Copilot approvals on, check the merge box on such a pull request before you rely on either answer.

The cost#

Every unattributed Copilot pull request waits for one more reviewer. In a repository that already requires two approvals, that is three people for a pull request nobody authored. Where channel requests are frequent and small, the extra reviewer becomes the bottleneck, and the pressure to clear the setting grows.

Decide#

Keep the setting on in any repository where Copilot can be prompted from shared channels or shared automations, and where the code reaches users or production. That covers most application and infrastructure repositories.

Prefer reducing unattributed pull requests to clearing the setting. When a person starts the task in a way that attributes the pull request to them, for example by assigning an issue to Copilot, the extra approval no longer applies and their own approval is excluded, so one reviewer again means two people.

Clear it only where one human review is the bar you would accept for any change, such as a documentation repository, and pair that with last-push approval so at least one approval covers the final commits and comes from someone other than Copilot. In a ruleset's pull_request rule:

{
  "type": "pull_request",
  "parameters": {
    "required_approving_review_count": 1,
    "dismiss_stale_reviews_on_push": false,
    "require_code_owner_review": false,
    "require_last_push_approval": true,
    "required_review_thread_resolution": false,
    "require_extra_approval_for_unattributed_changes": false
  }
}

The last-push approval guide covers the rest of that setting, and the guide to the approval count covers how this extra approval adds to the number you set.

One month of free code review.

New organizations get one calendar month of hosted code review for private and public GitHub repositories. No card or cloud connection required. Eligibility and fair-use terms.

Start free with GitHub

Related reading