Skip to main content

Managing GitHub Copilot code review in your enterprise

Enable members of your enterprise to use Copilot to review code and create pull request summaries.

谁可以使用此功能?

Enterprise owners

This policy controls the use of Copilot 代码评审 and Copilot 拉取请求摘要 in your enterprise.

For an introduction to Copilot 代码评审, see 关于 GitHub Copilot 代码评审.

For more information about Copilot 拉取请求摘要, see 使用 GitHub Copilot 创建拉取请求摘要.

Enabling Copilot 代码评审 for your Copilot subscribers

You can allow your members to use Copilot 代码评审 and Copilot 拉取请求摘要 from the AI Controls tab for your enterprise. See 管理企业中 GitHub Copilot 的策略和功能.

注意

  • GitHub Copilot 代码评审 为公共预览版,可能会发生变化。
  • GitHub 预发行许可条款”适用于你对本产品的使用。
  • To participate in the 公共预览版, you must first enable Copilot in GitHub.com > Opt in to preview features from the "Copilot" page of your enterprise's AI Controls.

Next steps

  • If you selected Enabled everywhere, tell organization owners that these features are enabled for all members.
  • If you selected Let organizations decide, discuss member enablement with organization owners.

Disabling Copilot 代码评审 in your repositories

Copilot policies affect only the users you assign a Copilot license to.

If there are Copilot 专业版 or Copilot Pro+ users with access to your enterprise's repositories, they will be able to use Copilot 代码评审 and will not be restricted by your policies.

Alternatively, you can disable the agent for all repositories owned by your enterprise.

  1. 在 GitHub 的右上角,单击你的个人资料图片。
  2. 根据环境,单击“你的企业”,或单击“你的企业”,然后单击要查看的企业********。
  3. At the top of the page, click AI controls.
  4. In the "Installed Agents" section, click Copilot 代码评审.
  5. In the "Copilot 代码评审" section, next to "Block Copilot 代码评审 in all enterprise repositories", click the toggle.