GitHub Copilot 代码审查新增组织计费选项与权限控制
Copilot code review: New organization billing options and controls
GitHub Copilot 代码审查新增组织计费选项与权限控制:组织所有者可将持 Copilot 许可证成员的代码审查请求计入组织成本中心,而非消耗成员个人配额,该选项需为组织启用 AI Credits 付费用量并可设预算。组织所有者与仓库管理员还可开启设置,仅允许由本组织或企业提供 Copilot 许可证的授权用户触发代码审查,阻止外部或个人许可证发起请求。
This release adds new billing and license controls for Copilot code review admins:
- Billing: Organization owners can bill Copilot code reviews from members with a Copilot license to the organization’s cost center instead of using up those members’ Copilot quotas.
- Review request controls: Organization owners and repository admins can control whether people with external licenses can request a review.
💳 Choose how members with a Copilot license are billed
By default, Copilot code review bills requests associated with members who have a Copilot license to that member’s own Copilot entitlement. Organization owners can now choose to bill the organization that owns the repository instead in order to avoid consuming or exhausting member quotas.
The Choose how members with a Copilot license are billed setting has two options:
- Member (default): Bills the member’s own Copilot entitlement. If the member’s quota is exhausted, the code review fails.
- Organization: Bills the organization that owns the repository. This requires AI Credits paid usage to be enabled for the organization, and you can optionally set a budget.
You can find the setting in your organization settings, under Copilot -> Policies.
🔒 Control who can request a review
By default, anyone with a paid Copilot license can use it to request a review from Copilot in the repositories they have access to. Organization owners and repository admins can now, if desired, turn on the Only allow Copilot code review to be triggered by authorized users setting to require that review requests come from people with a Copilot license provided by your organization or enterprise. When it’s on, people can’t use a Copilot license from outside your organization or enterprise (e.g., a personal license) to request a review. If you turn it on at the organization level, repository admins can’t turn it off.
For details on how the setting applies to personal repositories, automatic reviews, and API requests, see Reviews requested with an external Copilot license.
The post Copilot code review: New organization billing options and controls appeared first on The GitHub Blog.
来源:GitHub Changelog · github.blog