返回新闻
产品展示AI Understanding 简报

GitHub 允许 Copilot 在公共预览中提交拉取请求批准

GitHub 表示,当管理员启用该功能时,Copilot 代码审查现在可以提交批准,这些批准将计入所需的存储库批准。

5 min readRead the primary source
Source-provided image accompanying GitHub lets Copilot submit pull-request approvals in public preview
主要来源文件来源记录
出版商
github.blog
来源链接
github.bloghttps://github.blog/changelog/2026-09-01-copilot-code-review-can-now-approve-pull-requests
来源类型
主要文件——我们直接阅读的官方公告、文件、文件或第一方页面。
背景60 秒内了解这一点

从这里开始

关键术语

基准测试
用于测量和比较模型性能的标准化测试或数据集。
特征
模型用来进行预测的输入变量。
测试一下自己AI 代理测验

发生了什么

GitHub has added an approval assessment to every Copilot code review and introduced an optional setting that lets Copilot submit a formal pull-request approval. The is in public preview and is off by default.

GitHub’s September 1 changelog says every Copilot code review will now include an approval assessment in its overview comment. The assessment indicates whether Copilot considers a pull request ready to approve, alongside the detailed comments produced during the review. GitHub describes this as an at-a-glance signal of Copilot’s judgment, but says the assessment by itself does not count toward a repository’s merge requirements. A human can use the signal when deciding what to do, without granting Copilot formal approval authority.

The separate approvals capability allows administrators to authorize Copilot to submit an approval on a pull request. GitHub says the submitted approval can count toward a repository’s required-approvals rule. This is therefore a workflow change rather than only a new label in a review report: Copilot can become one of the reviewers whose approval satisfies a configured repository condition. The is available in public preview for GitHub Copilot Pro, Pro+, Max, Business, and Enterprise plans, according to the changelog.

The setting is off by default and can be controlled at the enterprise, organization, and repository levels. Enterprise administrators can keep approvals disabled across the enterprise or allow organizations to decide. Organization administrators can enable the across the organization, delegate the choice to repository administrators, enable it for selected repositories, or disable it organization-wide. Repository administrators can turn approvals on or off and select which file paths Copilot is permitted to approve. GitHub directs administrators to its Copilot code-review documentation for configuration details, but the source does not describe those steps further.

GitHub also says Copilot’s approval is dismissed if new commits are pushed after the approval, in the same way as a human reviewer’s approval. A new review can then be requested from Copilot to obtain a fresh approval. The announcement does not explain how the system reaches its approval assessment, report error rates, identify which types of changes it handles best, or state whether the preview is being rolled out uniformly across all listed plans.

来源详情: github.blog ↗

为什么这很重要

This moves Copilot from offering review judgments to participating in a repository’s approval workflow. Because its approval can count toward required approvals, administrators must decide where and how an AI reviewer is allowed to exercise that authority.

The practical significance is that an AI judgment can now be connected to an existing software-governance control. Many repositories use required approvals as a checkpoint before changes are merged. GitHub’s announcement does not say that Copilot merges code automatically, but it does say that an enabled Copilot approval can satisfy the approval portion of that process. That gives organizations a way to incorporate AI review into established workflows while preserving administrator control over whether the capability exists.

The change also creates a meaningful distinction between assistance and authorization. An approval assessment is informational and does not count toward merge requirements. A submitted approval is an operational action with repository-level consequences. GitHub’s decision to make approvals opt-in and configurable at several administrative levels gives enterprises a mechanism to limit adoption by organization, repository, or file path. Those controls may be especially important for repositories containing changes that require specialized human review, although the source does not specify any particular regulated or sensitive use case.

The path-level control is notable because it allows administrators to define where Copilot may approve rather than applying one blanket rule to every file in a repository. The source does not explain the available path syntax, whether exclusions are supported, or how administrators should choose boundaries. It also does not say whether Copilot approvals are visibly distinguished from human approvals in all repository views, what audit records are retained, or how responsibility is assigned when an AI approval is accepted by a team.

The dismissal rule addresses one basic consistency problem: an approval should not remain valid after the reviewed code changes. By treating new commits as invalidating Copilot’s approval, GitHub aligns the with the behavior described for human reviewers. That does not establish that the review is complete or correct; it only means the approval is removed after later commits. The source provides no evidence about whether a fresh review catches all material changes or how much human oversight GitHub expects during the preview.

Interactive Mechanism

互动机制:它实际上是如何运作的

以交互方式探索这一发展背后的基础技术。

Agent Lifecycle Stage:
1
User Intent & Planning: "Audit customer refund request #4092 and settle payment."
2
Tool Calling: Emits structured JSON call crm_get_transaction(id='4092').
3
Guardrail & Verification:🛡️ Paused: High-value action requires human operator sign-off.
4
Final Settlement: Refund recorded, email receipt dispatched, and audit log stored.
Core takeaway: An AI agent is not just a language model—it is a closed loop of planning, tool invocation, and environment feedback. Production systems require self-healing retries and strict human approval guardrails.
交互式概念检查+10 Points
AI Agents Quiz

An agent must create a draft calendar event for Tuesday at 2 p.m. Which evidence would establish the requested result?

接下来看什么

The key questions are how reliably Copilot’s assessments identify review-ready changes, how organizations configure file-path restrictions, and how teams handle accountability when an AI approval contributes to a merge decision. GitHub’s announcement does not provide accuracy measurements, audit details, or a general-availability date.

The first issue to watch is performance in real repositories. GitHub says the approval assessment signals whether Copilot considers a pull request ready to approve, but gives no , false-approval rate, scope of testing, or comparison with human reviewers. Those unknowns matter because a formal approval can affect whether a repository’s configured requirement is met. Public-preview status also means the may change as GitHub gathers feedback, although the changelog does not specify a testing timetable or planned milestones.

The second issue is governance in practice. Administrators will need to decide whether Copilot may approve all changes, only changes in selected repositories, or only specified file paths. The announcement describes the available control levels but does not state whether GitHub recommends human approval for particular categories of code. It also leaves open questions about review ownership, auditability, notification, and how teams will distinguish an AI-generated approval from a person’s judgment when investigating a later defect.

The third issue is how the capability interacts with other review requirements. GitHub says Copilot’s approval can count toward a repository’s required-approvals rule, but does not explain how it interacts with branch protections, CODEOWNERS-style responsibilities, dismissed reviews, or repositories that require approvals from particular groups. It also does not say whether an organization can require a human approval in addition to Copilot’s approval. Those details could determine whether the functions as a narrow productivity aid or becomes a meaningful change to a project’s release controls.

Finally, teams should watch the boundary between an approval assessment and an approval action. The assessment is now included in every Copilot review, while the formal approval remains disabled unless an administrator enables it. New commits dismiss an existing approval and require a new review request. GitHub has not disclosed the model or review process behind the assessment, the evidence Copilot uses, or the safeguards that prevent an approval from being treated as stronger evidence than it is. Those omissions are the main limitations of the announcement.

相关指南和测验

人工智能代理AI 伦理人工智能模型解释测试你所知道的——尝试免费的人工智能测验在我们的词汇表中查找人工智能术语关注 AI 模型发布跟踪器
觉得这有用吗?