Skip to content

Commit 608fbdc

Browse files
hubwriterjc-clarkCopilot
authored
Use a variable for a common settings step (#62307)
Co-authored-by: Joe Clark <31087804+jc-clark@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
1 parent fadad05 commit 608fbdc

37 files changed

Lines changed: 49 additions & 49 deletions

File tree

content/code-security/how-tos/secure-your-supply-chain/establish-provenance-and-integrity/prevent-release-changes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ category:
2222

2323
{% data reusables.organizations.navigate-to-org %}
2424
{% data reusables.organizations.org_settings %}
25-
1. In the "Code, planning, and automation" section of the sidebar, select the {% octicon "repo" aria-hidden="true" %} **Repository** dropdown menu, then click **General**.
25+
1. {% data reusables.user-settings.code-planning-automation %} select the {% octicon "repo" aria-hidden="true" %} **Repository** dropdown menu, then click **General**.
2626
1. In the "Releases" section of the page, select the **No policy** {% octicon "triangle-down" aria-hidden="true" %} dropdown menu, then click either **All repositories** or **Selected repositories**. Be aware that immutability will only apply to future releases.
2727
1. If you chose **Selected repositories**, to the right of the dropdown menu, click {% octicon "gear" aria-label="Select repositories" %}. Select the repositories you want to include, then click **Select repositories**.

content/copilot/how-tos/administer-copilot/manage-for-organization/enable-custom-models.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ After you've added your key and selected one or more models, you and your organi
3333

3434
{% data reusables.profile.access_org %}
3535
{% data reusables.profile.org_settings %}
36-
1. In the sidebar, under "Code, planning, and automation", click **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %} {% data variables.product.prodname_copilot_short %}**.
36+
1. {% data reusables.user-settings.code-planning-automation %} click **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %} {% data variables.product.prodname_copilot_short %}**.
3737
1. Under "Copilot", click **Models**.
3838
{% data reusables.copilot.byok-add %}
3939

content/copilot/how-tos/administer-copilot/manage-for-organization/manage-default-models.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ If the enterprise owner has set a model to **Optional**, you can enable or disab
3030

3131
{% data reusables.profile.access_org %}
3232
{% data reusables.profile.org_settings %}
33-
1. In the sidebar, under "Code, planning, and automation", click **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %} {% data variables.product.prodname_copilot_short %}**.
33+
1. {% data reusables.user-settings.code-planning-automation %} click **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %} {% data variables.product.prodname_copilot_short %}**.
3434
1. Click **Models**.
3535
1. Next to a model in the list, click the dropdown menu and select an option:
3636
* **Enabled**: The model is available to members of your organization.

content/copilot/how-tos/administer-copilot/manage-for-organization/manage-policies.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ category:
3434

3535
{% data reusables.profile.access_org %}
3636
{% data reusables.profile.org_settings %}
37-
1. In the sidebar, under "Code, planning, and automation", click **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %} {% data variables.product.prodname_copilot_short %}**.
37+
1. {% data reusables.user-settings.code-planning-automation %} click **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %} {% data variables.product.prodname_copilot_short %}**.
3838
* Click **Policies** to edit the policies that control privacy and availability of features.
3939
* Click **Models** to edit the policies that control availability of models beyond the basic models provided with {% data variables.product.prodname_copilot_short %}, which may incur additional costs.
4040
1. For each policy you want to configure, click the dropdown menu and select an enforcement option.

content/copilot/how-tos/administer-copilot/manage-mcp-usage/configure-mcp-server-access.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ To ensure uniform access, you can set and maintain your MCP registry URL and all
4343

4444
{% data reusables.profile.access_org %}
4545
{% data reusables.profile.org_settings %}
46-
1. In the sidebar, under "Code, planning, and automation", click **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %} {% data variables.product.prodname_copilot_short %}**, then click **Policies**.
46+
1. {% data reusables.user-settings.code-planning-automation %} click **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %} {% data variables.product.prodname_copilot_short %}**, then click **Policies**.
4747
1. In the "Features" section, ensure **MCP servers in {% data variables.product.prodname_copilot_short %}** is set to **Enabled**.
4848
1. In the **MCP Registry URL (optional)** field, enter the URL of your registry, then click **Save**.
4949

content/copilot/how-tos/cloud-and-local-sandboxes/enabling-or-disabling-cloud-sandboxes-for-your-organization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ For more information about cloud sandboxes, see [AUTOTITLE](/copilot/concepts/ab
2727

2828
{% data reusables.profile.access_org %}
2929
{% data reusables.profile.org_settings %}
30-
1. In the sidebar, under "Code, planning, and automation," click **Sandboxes**.
30+
1. {% data reusables.user-settings.code-planning-automation %} click **Sandboxes**.
3131
1. Under "Sandbox access," select your preferred setting:
3232
* **Disabled**: Sandboxes are not available for organization members.
3333
* **Enabled for all members**: All organization members can use {% data variables.copilot.sandbox_short %}.

content/copilot/how-tos/configure-content-exclusion/exclude-content-from-copilot.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ You can use your repository settings to specify content in your repository that
3636
{% data reusables.repositories.navigate-to-repo %}
3737
{% data reusables.repositories.sidebar-settings %}
3838

39-
1. In the "Code & automation" section of the sidebar, click **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %} {% data variables.product.prodname_copilot_short %}** then click **Content exclusion**.
39+
1. {% data reusables.user-settings.code-planning-automation %} click **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %} {% data variables.product.prodname_copilot_short %}** then click **Content exclusion**.
4040

4141
If your repository inherits any exclusions from its parent organization, or from organizations in the same enterprise, you'll see one or more gray boxes at the top of the page, containing details of these exclusions. You cannot edit these settings.
4242

content/copilot/how-tos/configure-content-exclusion/review-changes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ redirect_from:
1515
- /copilot/how-tos/content-exclusion/reviewing-changes-to-content-exclusions-for-github-copilot
1616
- /copilot/how-tos/content-exclusion/review-changes
1717
contentType: how-tos
18-
category:
18+
category:
1919
- Configure Copilot
2020
---
2121

@@ -26,7 +26,7 @@ Organization and repository settings include the ability to exclude content from
2626
{% data reusables.repositories.navigate-to-repo %}
2727
{% data reusables.repositories.sidebar-settings %}
2828

29-
1. In the "Code & automation" section of the sidebar, click **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %} {% data variables.product.prodname_copilot_short %}**.
29+
1. {% data reusables.user-settings.code-planning-automation %} click **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %} {% data variables.product.prodname_copilot_short %}**.
3030
{% data reusables.copilot.view-last-change-content-exclusions %}
3131
1. Click the time of the last change.
3232

content/copilot/how-tos/copilot-on-github/customize-copilot/add-custom-instructions/add-repository-instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ Custom instructions are enabled for {% data variables.copilot.copilot_code-revie
176176

177177
{% data reusables.repositories.navigate-to-repo %}
178178
{% data reusables.repositories.sidebar-settings %}
179-
1. In the "Code & automation" section of the sidebar, click **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %} {% data variables.product.prodname_copilot_short %}**, then **Code review**.
179+
1. {% data reusables.user-settings.code-planning-automation %} click **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %} {% data variables.product.prodname_copilot_short %}**, then **Code review**.
180180
1. Toggle the “Use custom instructions when reviewing pull requests” option on or off.
181181

182182
> [!NOTE]

content/copilot/how-tos/copilot-on-github/customize-copilot/configure-mcp-servers.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Repository administrators can configure MCP servers by following these steps:
4949

5050
{% data reusables.repositories.navigate-to-repo %}
5151
{% data reusables.repositories.sidebar-settings %}
52-
1. In the "Code & automation" section of the sidebar, click **{% data variables.product.prodname_copilot_short %}** then **MCP servers**.
52+
1. {% data reusables.user-settings.code-planning-automation %} click **{% data variables.product.prodname_copilot_short %}** then **MCP servers**.
5353
1. On the "Model Context Protocol (MCP)" page, add your configuration in the "MCP configuration" section.
5454

5555
The following sections in this article explain how to write the JSON configuration that you need to enter here.
@@ -354,7 +354,7 @@ If you want to allow {% data variables.product.prodname_copilot_short %} to acce
354354
1. Create a {% data variables.product.pat_generic %} with the appropriate permissions. We recommend using a {% data variables.product.pat_v2 %}, where you can limit the token's access to read-only permissions on specific repositories. For more information on {% data variables.product.pat_generic_plural %}, see [AUTOTITLE](/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens).
355355
{% data reusables.repositories.navigate-to-repo %}
356356
{% data reusables.repositories.sidebar-settings %}
357-
1. In the "Code & automation" section of the sidebar, click **{% data variables.product.prodname_copilot_short %}** then **MCP servers**.
357+
1. {% data reusables.user-settings.code-planning-automation %} click **{% data variables.product.prodname_copilot_short %}** then **MCP servers**.
358358
1. Add your configuration in the "MCP configuration" section. For example, you can add the following:
359359

360360
```javascript copy
@@ -396,7 +396,7 @@ If you disable this setting, {% data variables.copilot.copilot_code-review_short
396396

397397
{% data reusables.repositories.navigate-to-repo %}
398398
{% data reusables.repositories.sidebar-settings %}
399-
1. In the "Code & automation" section of the sidebar, click **{% data variables.product.prodname_copilot_short %}** then **Code review**.
399+
1. {% data reusables.user-settings.code-planning-automation %} click **{% data variables.product.prodname_copilot_short %}** then **Code review**.
400400
1. Click the **Allow Copilot to use MCP tools when reviewing pull requests** toggle to disable the setting.
401401

402402
## Next steps

0 commit comments

Comments
 (0)