Skip to content

Commit d2de374

Browse files
authored
Merge pull request #43651 from github/repo-sync
Repo sync
2 parents 01c5c5b + ae1a262 commit d2de374

File tree

38 files changed

+332
-364
lines changed

38 files changed

+332
-364
lines changed

.github/prompts/code-review.prompt.md

Lines changed: 73 additions & 244 deletions
Large diffs are not rendered by default.

.github/workflows/copilot-setup-steps.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
# Copilot cloud agent setup steps
2+
#
3+
# This is a special-name workflow recognized by Copilot cloud agent.
4+
# When a cloud agent session starts (via GitHub issue assignment or the
5+
# Copilot UI), these steps run first to bootstrap the development
6+
# environment before the agent begins working.
7+
#
8+
# The workflow_dispatch trigger allows manual testing of the setup steps.
9+
# This is NOT a regular CI workflow — it does not run on push or PR events.
10+
#
11+
# See also:
12+
# .github/copilot-instructions.md — always-on agent instructions
13+
# .github/instructions/ — contextual instruction files
14+
# .github/prompts/ — on-demand prompt files (e.g. /code-review)
15+
116
name: 'Copilot Setup Steps'
217

318
on:
@@ -18,17 +33,21 @@ jobs:
1833

1934
- uses: ./.github/actions/node-npm-setup
2035

36+
# Search and language test suites require a running Elasticsearch instance.
2137
- uses: ./.github/actions/setup-elasticsearch
2238
with:
2339
token: ${{ secrets.DOCS_BOT_PAT_BASE }}
2440

41+
# docs-internal has early-access content that must be fetched separately.
2542
- uses: ./.github/actions/get-docs-early-access
2643
if: ${{ github.repository == 'github/docs-internal' }}
2744
with:
2845
token: ${{ secrets.DOCS_BOT_PAT_BASE }}
2946

47+
# Many test suites depend on Next.js build artifacts.
3048
- name: Build
3149
run: npm run build
3250

51+
# Populate Elasticsearch with fixture data so search/language tests work.
3352
- name: Index fixtures into the local Elasticsearch
3453
run: npm run index-test-fixtures

content/admin/configuring-settings/configuring-private-networking-for-hosted-compute-products/about-azure-private-networking-for-github-hosted-runners-in-your-enterprise.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ category:
4040

4141
{% data reusables.actions.azure-vnet-networking-policies %}
4242

43+
## About VNET failover
44+
45+
{% data reusables.actions.azure-vnet-about-failover %}
46+
47+
For more information about configuring a failover network, see [AUTOTITLE](/admin/configuring-settings/configuring-private-networking-for-hosted-compute-products/configuring-private-networking-for-github-hosted-runners-in-your-enterprise#5-optionally-add-a-failover-network-to-a-network-configuration).
48+
4349
## Managing network configuration policies for organizations in your enterprise
4450

4551
You can give organization owners in your enterprise the ability to set up and maintain organization-level network configurations for {% data variables.product.company_short %}-hosted runners.

content/admin/configuring-settings/configuring-private-networking-for-hosted-compute-products/configuring-private-networking-for-github-hosted-runners-in-your-enterprise.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,33 @@ You can use the following {% data variables.product.prodname_cli %} commands to
119119
1. To disable a network configuration, to the right of the network configuration, click {% octicon "kebab-horizontal" aria-label="Menu" %}. Then click **Disable**.
120120
1. To delete a network configuration, to the right of the network configuration, click {% octicon "kebab-horizontal" aria-label="Menu" %}. Then click **Delete**.
121121

122+
### 5. Optionally, add a failover network to a network configuration
123+
124+
{% data reusables.actions.azure-vnet-about-failover %}
125+
126+
Before adding a failover network, ensure you have configured the Azure resources (VNET, subnet, network security group, and network settings resource) for the secondary subnet, following the same "Configuring your Azure resources" procedures above. The failover subnet can be in a different Azure region from your primary subnet.
127+
128+
{% data reusables.enterprise-accounts.access-enterprise %}
129+
{% data reusables.enterprise-accounts.settings-tab %}
130+
1. In the left sidebar, click **Hosted compute networking**.
131+
1. Click the edit icon ({% octicon "pencil" aria-label="Edit a network configuration" %}) next to the network configuration you want to add a failover network to. Then click **Edit configuration**.
132+
1. Click **Add failover network**.
133+
1. In the popup window, enter the network settings resource ID for your secondary (failover) Azure subnet.
134+
1. Click **Add Azure Virtual Network**.
135+
1. You will now see two subnets listed in the network configuration: the primary and the failover, labeled accordingly.
136+
137+
### 6. Optionally, enable or disable the failover network
138+
139+
After adding a failover network, you can enable it to route traffic through the secondary subnet, or disable it to return to the primary subnet.
140+
141+
{% data reusables.enterprise-accounts.access-enterprise %}
142+
{% data reusables.enterprise-accounts.settings-tab %}
143+
1. In the left sidebar, click **Hosted compute networking**.
144+
1. Click the edit icon ({% octicon "pencil" aria-label="Edit a network configuration" %}) next to the network configuration. Then click **Edit configuration**.
145+
1. To switch to the failover network, click **Enable failover VNET**. Runner traffic will be routed through the failover subnet.
146+
1. To switch back to the primary network, click **Disable failover VNET**. Runner traffic will return to the primary subnet.
147+
148+
122149
## Enabling creation of network configurations for organizations
123150

124151
You can allow organization owners in an enterprise to create their own organization-level network configurations.

content/copilot/concepts/agents/about-third-party-agents.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Before you can assign tasks to coding agents on {% data variables.product.github
3636
* For **{% data variables.copilot.copilot_pro %} and {% data variables.copilot.copilot_pro_plus %} subscribers**, see [AUTOTITLE](/copilot/how-tos/manage-your-account/manage-policies#enabling-or-disabling-third-party-agents-in-your-repositories).
3737
* For **{% data variables.copilot.copilot_for_business %} and {% data variables.copilot.copilot_enterprise %} subscribers**, see [AUTOTITLE](/copilot/how-tos/administer-copilot/manage-for-organization/manage-policies) or [AUTOTITLE](/enterprise-cloud@latest/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-enterprise-policies).
3838

39-
These policies do not apply to **local** agents in {% data variables.product.prodname_vscode %}, which cannot be disabled. They _do_ apply to **cloud** agents in {% data variables.product.prodname_vscode %}. See [Types of agents](https://code.visualstudio.com/docs/copilot/agents/overview#_types-of-agents) in the {% data variables.product.prodname_vscode %} documentation.
39+
These policies do not apply to **local** agents in {% data variables.product.prodname_vscode %}. To configure agent settings in {% data variables.product.prodname_vscode %}, see [Types of agents](https://code.visualstudio.com/docs/copilot/agents/overview#_types-of-agents) in the {% data variables.product.prodname_vscode %} documentation. To adjust enterprise agent settings in {% data variables.product.prodname_vscode %}, see [Enable or disable the use of agents](https://code.visualstudio.com/docs/enterprise/ai-settings#_enable-or-disable-the-use-of-agents) in the {% data variables.product.prodname_vscode %} documentation.
4040

4141
## Supported coding agents
4242

content/copilot/concepts/agents/coding-agent/about-coding-agent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ You can customize {% data variables.copilot.copilot_coding_agent %} in a number
151151

152152
### Limitations in {% data variables.copilot.copilot_coding_agent %}'s compatibility with other features
153153

154-
* **{% data variables.product.prodname_copilot_short %} isn't able to comply with certain rules that may be configured for your repository**. If you have configured a ruleset or branch protection rule that isn't compatible with {% data variables.copilot.copilot_coding_agent %} (for example the "Require signed commits" rule), access to the agent will be blocked. If the rule is configured using rulesets, you can add {% data variables.product.prodname_copilot_short %} as a bypass actor to enable access. See [AUTOTITLE](/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/creating-rulesets-for-a-repository#granting-bypass-permissions-for-your-branch-or-tag-ruleset).
154+
* **{% data variables.product.prodname_copilot_short %} isn't able to comply with certain rules that may be configured for your repository**. If you have configured a ruleset or branch protection rule that isn't compatible with {% data variables.copilot.copilot_coding_agent %}, access to the agent will be blocked. For example, a rule that only allows specific commit authors can prevent {% data variables.copilot.copilot_coding_agent %} from creating or updating pull requests. If the rule is configured using rulesets, you can add {% data variables.product.prodname_copilot_short %} as a bypass actor to enable access. See [AUTOTITLE](/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/creating-rulesets-for-a-repository#granting-bypass-permissions-for-your-branch-or-tag-ruleset).
155155
* **{% data variables.copilot.copilot_coding_agent %} doesn't account for content exclusions**. Content exclusions allow administrators to configure {% data variables.product.prodname_copilot_short %} to ignore certain files. When using {% data variables.copilot.copilot_coding_agent %}, {% data variables.product.prodname_copilot_short %} will not ignore these files, and will be able to see and update them. See [AUTOTITLE](/copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot).
156156
* **{% data variables.copilot.copilot_coding_agent %} only works with repositories hosted on {% data variables.product.github %}**. If your repository is stored using a different code hosting platform, {% data variables.product.prodname_copilot_short %} won't be able to work on it.
157157

content/copilot/concepts/agents/coding-agent/risks-and-mitigations.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,4 @@ To mitigate this risk, {% data variables.copilot.copilot_coding_agent %} is desi
5656
* {% data variables.copilot.copilot_coding_agent %}'s commits are authored by {% data variables.product.prodname_copilot_short %}, with the developer who assigned the issue or requested the change to the pull request marked as the co-author. This makes it easier to identify code generated by {% data variables.copilot.copilot_coding_agent %} and who started the task.
5757
* Session logs and audit log events are available to administrators.
5858
* The commit message for each agent-authored commit includes a link to the agent session logs, for code review and auditing. See [AUTOTITLE](/copilot/how-tos/use-copilot-agents/coding-agent/track-copilot-sessions).
59+
* {% data variables.copilot.copilot_coding_agent %}'s commits are signed, so they appear as "Verified" on {% data variables.product.github %}. This provides confidence that the commits were made by {% data variables.copilot.copilot_coding_agent %} and have not been altered.

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ category:
4545

4646
> [!NOTE]
4747
> * {% data reusables.gated-features.third-party-agents %}
48+
> * If your organization is owned by an enterprise, these settings are only visible if an enterprise admin has enabled third-party coding agents at the enterprise level. See [AUTOTITLE](/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-enterprise-policies).
4849
4950
You can choose whether to allow the following coding agents to be enabled in your organization:
5051

content/copilot/how-tos/copilot-sdk/authenticate-copilot-sdk/bring-your-own-key.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Azure AI Foundry (formerly Azure OpenAI) is a common BYOK deployment target for
5656

5757
Replace `YOUR-RESOURCE` with your Azure resource name and `YOUR-DEPLOYMENT-NAME` with your model deployment name. Set the `FOUNDRY_API_KEY` environment variable to your Azure API key.
5858

59-
For examples in Python, Go, and .NET, see [BYOK](https://github.com/github/copilot-sdk/blob/main/docs/auth/byok.md) in the `github/copilot-sdk` repository.
59+
For examples in Python, Go, and .NET, see [BYOK](https://github.com/github/copilot-sdk/blob/main/docs/auth/byok.md) in the `github/copilot-sdk` repository. {% data reusables.copilot.copilot-sdk.java-sdk-link %}
6060

6161
## Provider configuration reference
6262

@@ -227,7 +227,7 @@ const client = new CopilotClient({
227227

228228
Results are cached after the first call. The handler completely replaces the CLI's `models.list` RPC—no fallback to the server occurs.
229229

230-
For examples in Python, Go, and .NET, see [BYOK](https://github.com/github/copilot-sdk/blob/main/docs/auth/byok.md) in the `github/copilot-sdk` repository.
230+
For examples in Python, Go, and .NET, see [BYOK](https://github.com/github/copilot-sdk/blob/main/docs/auth/byok.md) in the `github/copilot-sdk` repository. {% data reusables.copilot.copilot-sdk.java-sdk-link %}
231231

232232
## Limitations
233233

content/copilot/how-tos/copilot-sdk/observability/opentelemetry.md

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

1515
{% data variables.copilot.copilot_sdk %} has built-in support for configuring OpenTelemetry on the CLI process and propagating W3C Trace Context between the SDK and CLI.
1616

17-
For examples in Python, Go, and .NET, see the [`github/copilot-sdk` repository](https://github.com/github/copilot-sdk/blob/main/docs/observability/opentelemetry.md).
17+
For examples in Python, Go, and .NET, see the [`github/copilot-sdk` repository](https://github.com/github/copilot-sdk/blob/main/docs/observability/opentelemetry.md). {% data reusables.copilot.copilot-sdk.java-sdk-link %}
1818

1919
## Built-in telemetry support
2020

0 commit comments

Comments
 (0)