注意
For an introduction to Copilot cloud agent, see 关于 GitHub Copilot 云代理.
Overview
Copilot cloud agent 是一种 AI 支持的软件开发代理,可以自主处理问题或开发人员请求。 它会创建草稿拉取请求以提出修复方案,并根据反馈对更改进行迭代。
If you are a GitHub Copilot Enterprise or GitHub Copilot Business subscriber, Copilot cloud agent is disabled by default and must be enabled by an administrator before it is available for use.
If you are a Copilot Pro, Copilot Pro+, or Copilot Max subscriber, Copilot cloud agent is enabled by default.
Once enabled, you can use Copilot cloud agent in any repository, provided that an administrator hasn't opted the repository out.
Copilot cloud agent policies for Copilot Business and Copilot Enterprise
对于 GitHub Copilot Business 和 GitHub Copilot Enterprise 订阅者,使用 Copilot cloud agent 能力由组织级别定义的策略设置控制。 请参阅“将GitHub Copilot云代理添加到组织”。
如果该组织归企业所有,则可以在企业级别控制启用情况。 请参阅“在企业中启用GitHub Copilot云代理”。
Opting repositories out of Copilot cloud agent
By default, users with Copilot cloud agent enabled can use it in all repositories.
Enterprise administrators and organization owners (for organization-owned repositories) and users (for user-owned repositories) can opt out repositories and prevent Copilot cloud agent from being used in those repositories.
For information on disabling Copilot cloud agent in some or all repositories owned by an organization, see 将GitHub Copilot云代理添加到组织.
For information on disabling Copilot cloud agent in all repositories owned by an enterprise, see 在您的企业中阻止智能体功能.
For information on disabling Copilot cloud agent in repositories owned by your personal user account, see 以个人订阅者身份管理 GitHub Copilot 策略.
Managing access to Automations
Automations let users run Copilot cloud agent automatically, on a schedule or in response to events. See 关于 Copilot 自动化.
若要 automations 在存储库中可用,以下所有内容都必须为 true:
- 存储库必须是 专用存储库或内部存储库。 Automations 在公共存储库中不可用。
- 必须为该存储库启用 Copilot cloud agent。 如果您拥有 Copilot Business 或 Copilot Enterprise,则管理员必须启用 Copilot cloud agent 策略。 请参阅“Managing access to GitHub Copilot cloud agent”。
- 组织必须在存储库中同时允许 Copilot cloud agent 和 automations(二者默认均处于启用状态)。 请参阅“将GitHub Copilot云代理添加到组织”。
Automations可用于GitHub Copilot Pro、GitHub Copilot Pro+、GitHub Copilot Max、GitHub Copilot Business和GitHub Copilot Enterprise计划。
In addition to the Copilot cloud agent policy, organizations can control whether automations are allowed in a repository. Automations are enabled by default in repositories where Copilot cloud agent is enabled. For more information, see 将GitHub Copilot云代理添加到组织.