返回新聞
產品展示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 模型發布追蹤器
覺得有用嗎?