AI觉醒星球
Awakening is here
Knowledge File / AI技能杠杆
2026-07-18 0 浏览 会员

Copilot代码审查:自定义与可配置性改进

GitHub Copilot代码审查新增防火墙、独立运行器配置,并从头分支读取自定义指令,提升了控制力与测试便利性。

SOURCE / AI技能杠杆 MIN / 9 ACCESS / 会员 POST / 2026-07-18 05:08:30

原贴

查看原文
作者:Allison 来源站点:github.blog 原贴时间:

原文

Copilot code review now utilizes a firewall, custom setup steps, and independent runner configurations. It now reads custom instructions from the head branch to allow for easy testing and validation of custom instructions. These changes give administrators and developers more control over how Copilot code review runs in their environment. Custom instructions are now read from the head branch of the pull request instead of the base branch. This includes copilot-instructions.md , *.instructions.md , agent skills, and AGENTS.md . This means you can iterate on and test custom instructions in a feature branch without needing to merge them first. Copilot code review now reads REVIEW.md , GEMINI.md , and CLAUDE.md files from your repository, so your customizations are understood regardless of where they live. If your team already maintains review guidelines or model-specific instructions in these files, Copilot code review will automatically pick them up and incorporate them into its review process. You can now configure the environment available to Copilot code review during runtime using a copilot-code-review.yml file in your .github/workflows/ directory. This lets you install dependencies, configure runners on the repository level independently of Copilot cloud agent, set up tooling, or run any preparation steps that Copilot code review needs to produce the reviews you desire for your repository. Add a copilot-code-review.yml file to your repository to define setup steps specific to Copilot code review. If no copilot-code-review.yml file exists, Copilot code review will fall back to your existing copilot-setup-steps.yml file if one is present. To learn more about how to set up a copilot-code-review.yml file, see our documentation on setting the Copilot code review environment . Copilot code review now runs behind a firewall by default, restricting network access during a review. The firewall is configurable separately from Copilot cloud agent in repository and organization settings, giving you independent control over each agent’s network access. The firewall is enabled by default for all repositories. To configure this setting in your repository, navigate to your repository settings, then go to Copilot → Internet access . ⚠️ Self-hosted runners do not currently support the firewall. If you have self-hosted runners configured for Copilot code review, your reviews will continue to run as usual without the firewall. ⚠️ Self-hosted runners do not currently support the firewall. If you have self-hosted runners configured for Copilot code review, your reviews will continue to run as usual without the firewall.

中文翻译

Copilot代码审查现在使用防火墙、自定义设置步骤和独立运行器配置。它现在从头分支读取自定义指令,以便轻松测试和验证自定义指令。这些变化让管理员和开发人员能更好地控制Copilot代码审查在其环境中的运行方式。

核心信息

GitHub Copilot代码审查新增防火墙、独立运行器配置,并从头分支读取自定义指令,提升了控制力与测试便利性。

  • GitHub Copilot代码审查新增防火墙、独立运行器配置,并从头分支读取自定义指令,提升了控制力与测试便利性。
  • 原贴提到:Copilot code review now utilizes a firewall, custom setup steps, and ind
  • 来源:github.blog
试看内容

成为会员查看完整内容

你已经看到了这篇内容的前置整理,剩余深度部分仅对会员开放。

详细解读 信息差价值 参考来源
成为会员查看完整内容
上一篇 Fable 让女友失眠夜自建服装管理应用 下一篇 美团LongCat发布LoHoSearch:更难搜索智能体基准