From 4544c97d603025c12784072657db12deb1de3bf9 Mon Sep 17 00:00:00 2001 From: hubwriter Date: Fri, 8 Nov 2024 17:21:40 +0000 Subject: [PATCH] Copilot content exclusion GA (#52982) Co-authored-by: Sophie <29382425+sophietheking@users.noreply.github.com> Co-authored-by: Hector Alfaro --- .../excluding-content-from-github-copilot.md | 7 +++---- .../index.md | 12 ++++++++++++ ...es-to-content-exclusions-for-github-copilot.md | 3 ++- content/copilot/managing-copilot/index.md | 2 +- .../index.md | 2 +- ...g-policies-for-copilot-in-your-organization.md | 3 +++ .../index.md | 1 - ...ivity-data-for-copilot-in-your-organization.md | 3 ++- .../index.md | 15 --------------- ...eshooting-common-issues-with-github-copilot.md | 2 -- .../copilot/content-exclusion-limitations.md | 3 +-- data/reusables/copilot/content-exclusion-note.md | 1 - ...ntent-exclusions-availability-and-beta-note.md | 3 --- .../reusables/copilot/content-exclusions-scope.md | 15 +-------------- 14 files changed, 26 insertions(+), 46 deletions(-) rename content/copilot/managing-copilot/{managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization => configuring-and-auditing-content-exclusion}/excluding-content-from-github-copilot.md (94%) create mode 100644 content/copilot/managing-copilot/configuring-and-auditing-content-exclusion/index.md rename content/copilot/managing-copilot/{managing-github-copilot-in-your-organization/reviewing-activity-related-to-github-copilot-in-your-organization => configuring-and-auditing-content-exclusion}/reviewing-changes-to-content-exclusions-for-github-copilot.md (89%) rename content/copilot/managing-copilot/managing-github-copilot-in-your-organization/{setting-policies-for-copilot-in-your-organization => }/managing-policies-for-copilot-in-your-organization.md (95%) delete mode 100644 content/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/index.md delete mode 100644 data/reusables/copilot/content-exclusion-note.md delete mode 100644 data/reusables/copilot/content-exclusions-availability-and-beta-note.md diff --git a/content/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/excluding-content-from-github-copilot.md b/content/copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot.md similarity index 94% rename from content/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/excluding-content-from-github-copilot.md rename to content/copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot.md index 0f13ebf1f1..51b334cf85 100644 --- a/content/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/excluding-content-from-github-copilot.md +++ b/content/copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot.md @@ -8,6 +8,7 @@ layout: inline versions: feature: copilot redirect_from: + - /copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/excluding-content-from-github-copilot - /copilot/managing-copilot-business/configuring-content-exclusions-for-github-copilot - /copilot/managing-github-copilot-in-your-organization/configuring-content-exclusions-for-github-copilot - /copilot/managing-copilot/managing-github-copilot-in-your-organization/configuring-content-exclusions-for-github-copilot @@ -23,8 +24,6 @@ topics: ## About content exclusions for {% data variables.product.prodname_copilot_short %} -{% data reusables.copilot.content-exclusion-note %} - You can use content exclusions to configure {% data variables.product.prodname_copilot_short %} to ignore certain files. When you exclude content from {% data variables.product.prodname_copilot_short %}: * Code completion will not be available in the affected files. @@ -215,10 +214,10 @@ There are a few different ways to test your content exclusions, depending on whi 1. Open a file that you expect to be affected by your content exclusions. 1. Use one or more of the following techniques to test if content is being excluded: * **In JetBrains IDEs, {% data variables.product.prodname_vs %}, and {% data variables.product.prodname_vscode %}**, check the {% data variables.product.prodname_copilot_short %} icon in the status bar. If a {% data variables.product.prodname_copilot_short %} content exclusion applies to the file, the {% data variables.product.prodname_copilot_short %} icon will have a diagonal line through it. Hover over the icon to see whether an organization or the parent repository disabled {% data variables.product.prodname_copilot_short %} for the file. - * **In JetBrains IDEs, {% data variables.product.prodname_vs %} and {% data variables.product.prodname_vscode %}**, you can also test content exclusions in {% data variables.product.prodname_copilot_chat_short %}. Open the {% data variables.product.prodname_copilot_chat_short %} window, and ask {% data variables.product.prodname_copilot_chat_short %} a question about the excluded file. If your content is excluded successfully, {% data variables.product.prodname_copilot_short %} will be unable to answer your question, and will explain that some files were excluded from the conversation due to content exclusion rules. * **In Vim/Neovim**, begin typing in the file. If {% data variables.product.prodname_copilot %} no longer provides inline suggestions as you type, the file is excluded. + * You can also test content exclusions in {% data variables.product.prodname_copilot_chat_short %}. Open the {% data variables.product.prodname_copilot_chat_short %} window, and ask {% data variables.product.prodname_copilot_chat_short %} a question about the excluded file. If your content is excluded successfully, {% data variables.product.prodname_copilot_short %} will be unable to answer your question, and will explain that some files were excluded from the conversation due to content exclusion rules. ## Further reading * "[AUTOTITLE](/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/reviewing-changes-to-content-exclusions-for-github-copilot)" -* [Configuring content exclusion for {% data variables.product.prodname_vs %} in the Microsoft Learn documentation](https://learn.microsoft.com/en-us/visualstudio/ide/visual-studio-github-copilot-admin?view=vs-2022#configure-content-exclusion) +* [Configuring content exclusion for {% data variables.product.prodname_vs %}](https://learn.microsoft.com/en-us/visualstudio/ide/visual-studio-github-copilot-admin?view=vs-2022#configure-content-exclusion) in the Microsoft Learn documentation diff --git a/content/copilot/managing-copilot/configuring-and-auditing-content-exclusion/index.md b/content/copilot/managing-copilot/configuring-and-auditing-content-exclusion/index.md new file mode 100644 index 0000000000..b5a6107256 --- /dev/null +++ b/content/copilot/managing-copilot/configuring-and-auditing-content-exclusion/index.md @@ -0,0 +1,12 @@ +--- +title: Configuring and auditing content exclusion +shortTitle: Configure content exclusion +intro: 'You can prevent {% data variables.product.prodname_copilot_short %} from accessing certain content, and review any changes to these settings.' +versions: + feature: copilot +topics: + - Copilot +children: + - /excluding-content-from-github-copilot + - /reviewing-changes-to-content-exclusions-for-github-copilot +--- diff --git a/content/copilot/managing-copilot/managing-github-copilot-in-your-organization/reviewing-activity-related-to-github-copilot-in-your-organization/reviewing-changes-to-content-exclusions-for-github-copilot.md b/content/copilot/managing-copilot/configuring-and-auditing-content-exclusion/reviewing-changes-to-content-exclusions-for-github-copilot.md similarity index 89% rename from content/copilot/managing-copilot/managing-github-copilot-in-your-organization/reviewing-activity-related-to-github-copilot-in-your-organization/reviewing-changes-to-content-exclusions-for-github-copilot.md rename to content/copilot/managing-copilot/configuring-and-auditing-content-exclusion/reviewing-changes-to-content-exclusions-for-github-copilot.md index 8d52f349d8..e52675e321 100644 --- a/content/copilot/managing-copilot/managing-github-copilot-in-your-organization/reviewing-activity-related-to-github-copilot-in-your-organization/reviewing-changes-to-content-exclusions-for-github-copilot.md +++ b/content/copilot/managing-copilot/configuring-and-auditing-content-exclusion/reviewing-changes-to-content-exclusions-for-github-copilot.md @@ -9,12 +9,13 @@ versions: topics: - Copilot redirect_from: + - /copilot/managing-copilot/managing-github-copilot-in-your-organization/reviewing-activity-related-to-github-copilot-in-your-organization/reviewing-changes-to-content-exclusions-for-github-copilot - /copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-github-copilot-features-in-your-organization/reviewing-changes-to-content-exclusions-for-github-copilot - /copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/reviewing-changes-to-content-exclusions-for-github-copilot - /copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/reviewing-changes-to-content-exclusions-for-github-copilot --- -{% data reusables.copilot.content-exclusions-availability-and-beta-note %} +Organization and repository settings include the ability to exclude content from being used by {% data variables.product.prodname_copilot %}. You can review any changes that are made to these content exclusion settings. ## Reviewing changes in your repository diff --git a/content/copilot/managing-copilot/index.md b/content/copilot/managing-copilot/index.md index 486ef44c23..e6c1844767 100644 --- a/content/copilot/managing-copilot/index.md +++ b/content/copilot/managing-copilot/index.md @@ -11,5 +11,5 @@ children: - /managing-github-copilot-in-your-organization - /managing-copilot-as-an-individual-subscriber - /configure-personal-settings + - /configuring-and-auditing-content-exclusion --- - diff --git a/content/copilot/managing-copilot/managing-github-copilot-in-your-organization/index.md b/content/copilot/managing-copilot/managing-github-copilot-in-your-organization/index.md index f0db56c9f4..ca03593b6f 100644 --- a/content/copilot/managing-copilot/managing-github-copilot-in-your-organization/index.md +++ b/content/copilot/managing-copilot/managing-github-copilot-in-your-organization/index.md @@ -11,7 +11,7 @@ topics: - Copilot children: - /managing-the-copilot-subscription-for-your-organization - - /setting-policies-for-copilot-in-your-organization + - /managing-policies-for-copilot-in-your-organization - /configuring-your-proxy-server-or-firewall-for-copilot - /managing-access-to-github-copilot-in-your-organization - /reviewing-activity-related-to-github-copilot-in-your-organization diff --git a/content/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization.md b/content/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization.md similarity index 95% rename from content/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization.md rename to content/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization.md index ec44bce858..df8601d1ca 100644 --- a/content/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization.md +++ b/content/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization.md @@ -6,6 +6,9 @@ product: 'Organizations with a subscription to {% data variables.product.prodnam versions: feature: copilot redirect_from: + - /copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization + - /copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization + - /copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-github-copilot-features-in-your-organization - /copilot/managing-github-copilot-in-your-organization/managing-policies-for-copilot-business-in-your-organization - /copilot/managing-copilot-for-business/managing-policies-for-copilot-for-business-in-your-organization - /copilot/managing-copilot-business/managing-policies-for-copilot-business-in-your-organization diff --git a/content/copilot/managing-copilot/managing-github-copilot-in-your-organization/reviewing-activity-related-to-github-copilot-in-your-organization/index.md b/content/copilot/managing-copilot/managing-github-copilot-in-your-organization/reviewing-activity-related-to-github-copilot-in-your-organization/index.md index 80d45c51de..319f8b7e59 100644 --- a/content/copilot/managing-copilot/managing-github-copilot-in-your-organization/reviewing-activity-related-to-github-copilot-in-your-organization/index.md +++ b/content/copilot/managing-copilot/managing-github-copilot-in-your-organization/reviewing-activity-related-to-github-copilot-in-your-organization/index.md @@ -9,5 +9,4 @@ topics: children: - /reviewing-user-activity-data-for-copilot-in-your-organization - /reviewing-audit-logs-for-copilot-business - - /reviewing-changes-to-content-exclusions-for-github-copilot --- diff --git a/content/copilot/managing-copilot/managing-github-copilot-in-your-organization/reviewing-activity-related-to-github-copilot-in-your-organization/reviewing-user-activity-data-for-copilot-in-your-organization.md b/content/copilot/managing-copilot/managing-github-copilot-in-your-organization/reviewing-activity-related-to-github-copilot-in-your-organization/reviewing-user-activity-data-for-copilot-in-your-organization.md index 10663b5939..a3b29f5ac0 100644 --- a/content/copilot/managing-copilot/managing-github-copilot-in-your-organization/reviewing-activity-related-to-github-copilot-in-your-organization/reviewing-user-activity-data-for-copilot-in-your-organization.md +++ b/content/copilot/managing-copilot/managing-github-copilot-in-your-organization/reviewing-activity-related-to-github-copilot-in-your-organization/reviewing-user-activity-data-for-copilot-in-your-organization.md @@ -75,5 +75,6 @@ For more information about enabling telemetry in various IDEs, see: {% ifversion ghec %} * "[AUTOTITLE](/copilot/managing-copilot/managing-copilot-for-your-enterprise/viewing-copilot-usage-for-your-enterprise)"{% endif %} * [{% data variables.product.prodname_copilot %} Trust Center](https://resources.github.com/copilot-trust-center) -* "[AUTOTITLE](/copilot/managing-github-copilot-in-your-organization/granting-access-to-copilot-for-members-of-your-organization)." +* "[AUTOTITLE](/copilot/managing-github-copilot-in-your-organization/granting-access-to-copilot-for-members-of-your-organization)" * "[AUTOTITLE](/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization)" +* "[AUTOTITLE](/copilot/managing-copilot/configuring-and-auditing-content-exclusion/reviewing-changes-to-content-exclusions-for-github-copilot)" diff --git a/content/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/index.md b/content/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/index.md deleted file mode 100644 index e5d01f518b..0000000000 --- a/content/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/index.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -title: Setting policies for Copilot in your organization -shortTitle: Set policies -intro: 'Organization owners can set policies for {% data variables.product.prodname_copilot %} in their organization.' -versions: - feature: copilot -topics: - - Copilot -children: - - /managing-policies-for-copilot-in-your-organization - - /excluding-content-from-github-copilot -redirect_from: - - /copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-github-copilot-features-in-your-organization ---- - diff --git a/content/copilot/troubleshooting-github-copilot/troubleshooting-common-issues-with-github-copilot.md b/content/copilot/troubleshooting-github-copilot/troubleshooting-common-issues-with-github-copilot.md index 00f2a34e23..75f5aff9f0 100644 --- a/content/copilot/troubleshooting-github-copilot/troubleshooting-common-issues-with-github-copilot.md +++ b/content/copilot/troubleshooting-github-copilot/troubleshooting-common-issues-with-github-copilot.md @@ -31,8 +31,6 @@ When a file is affected by a content exclusion setting, {% data variables.produc ## {% data variables.product.prodname_copilot %} content exclusions are not being applied -{% data reusables.copilot.content-exclusion-note %} - Content exclusion can be configured at the repository{% ifversion ghec %}, organization, and enterprise{% else %} and organization{% endif %} level. The scope of the exclusion is determined by the level at which the rule is set: {% data reusables.copilot.content-exclusions-scope %} diff --git a/data/reusables/copilot/content-exclusion-limitations.md b/data/reusables/copilot/content-exclusion-limitations.md index e1ad696bb9..23198e7171 100644 --- a/data/reusables/copilot/content-exclusion-limitations.md +++ b/data/reusables/copilot/content-exclusion-limitations.md @@ -1,2 +1 @@ -* In {% data variables.product.prodname_copilot_chat_short %} in {% data variables.product.prodname_vscode %} and {% data variables.product.prodname_vs %}, content exclusions are not applied when you use the `@github` chat participant in your question. -* It's possible that {% data variables.product.prodname_copilot_short %} may use semantic information from an excluded file if the information is provided by the IDE in a non-excluded file. Examples of such content include type information and hover-over definitions for symbols used in code. +It's possible that {% data variables.product.prodname_copilot_short %} may use semantic information from an excluded file if the information is provided by the IDE in a non-excluded file. Examples of such content include type information and hover-over definitions for symbols used in code. diff --git a/data/reusables/copilot/content-exclusion-note.md b/data/reusables/copilot/content-exclusion-note.md deleted file mode 100644 index 6a080ffcaf..0000000000 --- a/data/reusables/copilot/content-exclusion-note.md +++ /dev/null @@ -1 +0,0 @@ -> [!NOTE] Excluding content from {% data variables.product.prodname_copilot %} is currently in {% data variables.release-phases.public_preview %} and is subject to change. diff --git a/data/reusables/copilot/content-exclusions-availability-and-beta-note.md b/data/reusables/copilot/content-exclusions-availability-and-beta-note.md deleted file mode 100644 index 854abf1578..0000000000 --- a/data/reusables/copilot/content-exclusions-availability-and-beta-note.md +++ /dev/null @@ -1,3 +0,0 @@ -> [!NOTE] -> * Excluding content from {% data variables.product.prodname_copilot %} is currently in {% data variables.release-phases.public_preview %} and is subject to change. -> * Content exclusions are currently supported in select IDEs. See "[AUTOTITLE](/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-github-copilot-features-in-your-organization/about-content-exclusions-for-github-copilot#availability-of-content-exclusions)." diff --git a/data/reusables/copilot/content-exclusions-scope.md b/data/reusables/copilot/content-exclusions-scope.md index d3eb5a3d31..ea06fe59a5 100644 --- a/data/reusables/copilot/content-exclusions-scope.md +++ b/data/reusables/copilot/content-exclusions-scope.md @@ -1,21 +1,8 @@ -* **Repository administrators** can only exclude content for their own repositories. This affects {% data variables.product.prodname_copilot_short %} users working within those specific repositories. +* **Repository administrators** can exclude content for their own repositories. This affects any {% data variables.product.prodname_copilot_short %} users working within those specific repositories. * **Organization owners** can exclude content for users assigned a {% data variables.product.prodname_copilot_short %} seat through their organization. {% ifversion ghec %} - - - > [!NOTE] In the current {% data variables.release-phases.public_preview %} release, organization-level settings for content exclusion typically apply to all {% data variables.product.prodname_copilot_short %} users in the enterprise. This will change with the general availability (GA) release of this feature on November 8th, 2024. - > - > **_Before November 8th:_** - > * **If enterprise owners do not set rules**: Organization-level rules will continue to apply to all users across the enterprise, functioning as they do now, until November 8th. - > * **If enterprise owners set a rule**: Once enterprise-level rules are applied, organization-level rules will only apply to users who are assigned a {% data variables.product.prodname_copilot_short %} seat from the organization where the rule is set.

- > - > **_After November 8th:_** - > * Organization-level rules will no longer apply enterprise-wide. They will be limited to users who are assigned a {% data variables.product.prodname_copilot_short %} seat from the organization where the rule is set. - - - * **Enterprise owners** can apply exclusion rules to all {% data variables.product.prodname_copilot_short %} users in the enterprise. {% endif %}