diff --git a/content/copilot/concepts/code-review/code-review.md b/content/copilot/concepts/code-review/code-review.md index 03e26d7bfd49..822152d822ff 100644 --- a/content/copilot/concepts/code-review/code-review.md +++ b/content/copilot/concepts/code-review/code-review.md @@ -26,7 +26,7 @@ This article provides an overview of {% data variables.copilot.copilot_code-revi The exception is the review of a selection of code within a file in {% data variables.product.prodname_vscode %}. This is a standard feature available to all {% data variables.product.prodname_copilot_short %} users in {% data variables.product.prodname_vscode_shortname %}. -If you receive {% data variables.product.prodname_copilot_short %} from an organization then, to be able to request a pull request review from {% data variables.product.prodname_copilot_short %} on {% data variables.product.prodname_dotcom_the_website %} or in {% data variables.product.prodname_mobile %}, the **{% data variables.product.prodname_copilot_short %} in {% data variables.product.prodname_dotcom_the_website %}** option must be enabled in the {% data variables.product.prodname_copilot_short %} policy settings for the organization. See [AUTOTITLE](/copilot/how-tos/administer/organizations/managing-policies-for-copilot-in-your-organization). +If you receive {% data variables.product.prodname_copilot_short %} from an organization then, to be able to request a pull request review from {% data variables.product.prodname_copilot_short %} on {% data variables.product.prodname_dotcom_the_website %} or in {% data variables.product.prodname_mobile %}, the **{% data variables.copilot.copilot_code-review_short %}** option must be enabled in the {% data variables.product.prodname_copilot_short %} policy settings for the organization. See [AUTOTITLE](/copilot/how-tos/administer/organizations/managing-policies-for-copilot-in-your-organization). ## Code review monthly quota diff --git a/content/copilot/how-tos/administer-copilot/manage-for-enterprise/index.md b/content/copilot/how-tos/administer-copilot/manage-for-enterprise/index.md index 1246743f0074..60034d21afc9 100644 --- a/content/copilot/how-tos/administer-copilot/manage-for-enterprise/index.md +++ b/content/copilot/how-tos/administer-copilot/manage-for-enterprise/index.md @@ -11,10 +11,10 @@ children: - /manage-access - /manage-enterprise-policies - /manage-copilot-coding-agent + - /manage-copilot-code-review redirect_from: - /copilot/managing-copilot/managing-copilot-for-your-enterprise - /copilot/how-tos/administer/enterprises - /copilot/how-tos/administer/manage-for-enterprise contentType: how-tos --- - diff --git a/content/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-copilot-code-review.md b/content/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-copilot-code-review.md new file mode 100644 index 000000000000..dbddf5a03ab8 --- /dev/null +++ b/content/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-copilot-code-review.md @@ -0,0 +1,45 @@ +--- +title: Managing GitHub Copilot code review in your enterprise +intro: 'Enable members of your enterprise to use {% data variables.product.prodname_copilot_short %} to review code and create pull request summaries.' +allowTitleToDifferFromFilename: true +permissions: Enterprise owners +versions: + feature: copilot +topics: + - Copilot +shortTitle: 'Manage {% data variables.copilot.copilot_code-review_short %}' +contentType: how-tos +--- + +This policy controls the use of {% data variables.copilot.copilot_code-review_short %} and {% data variables.copilot.copilot_for_prs %} in your enterprise. + +For an introduction to {% data variables.copilot.copilot_code-review_short %}, see [AUTOTITLE](/copilot/concepts/code-review/code-review). + +For more information about {% data variables.copilot.copilot_for_prs %}, see [AUTOTITLE](/copilot/how-tos/use-copilot-for-common-tasks/create-a-pr-summary). + +## Enabling {% data variables.copilot.copilot_code-review_short %} for your {% data variables.product.prodname_copilot_short %} subscribers + +You can enable {% data variables.copilot.copilot_code-review_short %} and {% data variables.copilot.copilot_for_prs %} for your members on the {% data variables.product.prodname_copilot_short %} policies page for your enterprise. See [AUTOTITLE](/copilot/managing-copilot/managing-copilot-for-your-enterprise/managing-policies-and-features-for-copilot-in-your-enterprise#configuring-policies-for-github-copilot). + +* "Enabled" means all users granted a {% data variables.product.prodname_copilot_short %} license by any of your organizations will be able to use the feature. +* "Disabled" means no users granted a {% data variables.product.prodname_copilot_short %} license by your organizations will be able to use the feature. +* "No policy" means organization owners in each of your organizations will be able to decide if their {% data variables.product.prodname_copilot_short %} licensees can use the feature. + +### Next steps + +* If you selected **Enabled**, tell organization owners that these features are enabled for all members. +* If you selected **No policy**, discuss member enablement with organization owners. + +## Disabling {% data variables.copilot.copilot_code-review_short %} in your repositories + +{% data variables.product.prodname_copilot_short %} policies affect only the users you assign a {% data variables.product.prodname_copilot_short %} license to. + +If there are {% data variables.copilot.copilot_pro_short %} or {% data variables.copilot.copilot_pro_plus_short %} users with access to your enterprise's repositories, they will be able to use {% data variables.copilot.copilot_code-review_short %} and will not be restricted by your policies. + +Alternatively, you can disable the agent for all repositories owned by your enterprise. + +{% data reusables.enterprise-accounts.access-enterprise %} +{% data reusables.enterprise-accounts.policies-tab %} +{% data reusables.enterprise-accounts.copilot-tab %} +{% data reusables.enterprise-accounts.copilot-policies-tab %} +1. Select **Block {% data variables.copilot.copilot_code-review_short %} in all enterprise repositories**. diff --git a/content/copilot/how-tos/administer-copilot/manage-for-organization/index.md b/content/copilot/how-tos/administer-copilot/manage-for-organization/index.md index e94ad08fc65f..099c60d22701 100644 --- a/content/copilot/how-tos/administer-copilot/manage-for-organization/index.md +++ b/content/copilot/how-tos/administer-copilot/manage-for-organization/index.md @@ -21,4 +21,3 @@ children: - /review-activity contentType: how-tos --- - diff --git a/content/copilot/reference/policy-conflicts.md b/content/copilot/reference/policy-conflicts.md index ff9ae74955e5..5b08d25b1371 100644 --- a/content/copilot/reference/policy-conflicts.md +++ b/content/copilot/reference/policy-conflicts.md @@ -43,6 +43,7 @@ Feature, model, and privacy settings for users are set according to the **least | {% data variables.product.prodname_copilot_short %} can search the web | Least restrictive organization | [AUTOTITLE](/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-chat-in-github#leveraging-a-web-search-to-answer-a-question) | | {% data variables.copilot.copilot_mobile_short %} | Least restrictive organization | [AUTOTITLE](/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-chat-in-github-mobile) | | {% data variables.copilot.copilot_chat_short %} in the IDE | Least restrictive organization | [AUTOTITLE](/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-chat-in-your-ide) | +| {% data variables.copilot.copilot_code-review_short %} | Least restrictive organization | [AUTOTITLE](/copilot/responsible-use/code-review) | | {% data variables.copilot.copilot_coding_agent %} | Least restrictive organization | [AUTOTITLE](/copilot/responsible-use-of-github-copilot-features/responsible-use-of-copilot-coding-agent-on-githubcom) | | {% data variables.copilot.copilot_extensions_short %} | Least restrictive organization | [AUTOTITLE](/copilot/concepts/copilot-extensions/about-copilot-extensions) | | {% data variables.product.prodname_copilot_short %} in {% data variables.product.prodname_dotcom_the_website %} | Least restrictive organization | [AUTOTITLE](/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-chat-in-github) |