Skip to content

Commit 7cd6f8d

Browse files
authored
Merge pull request #46888 from github/repo-sync
Repo sync
2 parents 8cd1075 + 3419465 commit 7cd6f8d

13 files changed

Lines changed: 74 additions & 40 deletions

File tree

‎content/code-security/concepts/code-scanning/ai-scan-for-repositories.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ You do not need a {% data variables.product.prodname_copilot %} license.
2828

2929
You run AI Scan for repositories on demand, and each scan consumes **{% data variables.product.prodname_code_security %} {% data variables.product.prodname_ai_credits_short %}**. This usage is separate from active-committer licensing.
3030

31-
Usage is billed to the account responsible for the organization's billing.
31+
Usage is billed to the account responsible for the organization's billing.
3232

3333
{% data reusables.code-scanning.ai-scan-personal-account-billing %}
3434

@@ -57,6 +57,7 @@ The alert will only close automatically if the applied fix changes the exact lin
5757
## Limitations
5858

5959
* Scans analyze the default branch only.
60+
* Self-hosted runners are not supported.
6061
* Scans are manually triggered. Scheduled scans and automatic scans on push are not supported.
6162
* The agent selects which code to examine within a time budget. A scan does not exhaustively analyze every file or guarantee that it finds every vulnerability.
6263
* Matching against existing {% data variables.product.prodname_codeql %} alerts is best effort, so duplicate alerts can occur.

‎content/copilot/concepts/customizations/mcp.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ The {% data variables.product.github %} MCP Registry is a curated list of MCP se
187187

188188
Agent finder is a discovery service that helps {% data variables.product.prodname_copilot %} find the right capabilities—such as MCP servers, tools, agents, and skills—for a task at runtime, instead of requiring every capability to be configured in advance. Like an MCP registry, it searches a catalog of capabilities and returns ranked matches that {% data variables.product.prodname_copilot %} can use on demand. Agent finder implements the open Agentic Resource Discovery (ARD) specification.
189189

190-
For {% data variables.copilot.copilot_cli_short %} setup, see [Using agent finder](/copilot/how-tos/copilot-cli/customize-copilot/add-mcp-servers#using-agent-finder). The {% data variables.copilot.github_copilot_app %} provides an `af` built-in skill. See [AUTOTITLE](/copilot/reference/github-copilot-app-reference/built-in-skills). To browse the catalog, see [GitHub Agent Finder](https://github.com/agentfinder).
190+
The {% data variables.copilot.github_copilot_app %} provides an `af` built-in skill. See [AUTOTITLE](/copilot/reference/github-copilot-app-reference/built-in-skills). You can search for more AI resources at [github.com/search?type=ai_resources](https://github.com/search?type=ai_resources).
191191

192192
## Next steps
193193

‎content/copilot/copilot-on-ghes/about-copilot-on-ghes.md‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,16 @@ An administrator configures a model provider for the instance, and users connect
4242

4343
For more information, see [AUTOTITLE](/copilot/copilot-on-ghes/set-up-copilot-cli).
4444

45+
{% ifversion copilot-cli-ghes-ga %}
4546
> [!NOTE]
46-
> This feature is in {% data variables.release-phases.technical_preview %} and subject to change.
47+
> This feature is generally available.
48+
{% else %}
49+
> [!NOTE]
50+
> This feature is generally available starting with {% data variables.product.prodname_ghe_server %} 3.22.3. In earlier 3.22 patch releases, it is in {% data variables.release-phases.technical_preview %}.
51+
{% endif %}
4752

4853
{% else %}
4954

50-
To use this feature, upgrade your instance to **version 3.22 or later**, where this feature is available in {% data variables.release-phases.technical_preview %}.
55+
To use this feature as generally available, upgrade your instance to **version 3.22.3 or later**.
5156

5257
{% endif %}

‎content/copilot/copilot-on-ghes/set-up-copilot-cli.md‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,13 @@ category:
1414
- Manage Copilot for a team
1515
---
1616

17+
{% ifversion copilot-cli-ghes-ga %}
1718
> [!NOTE]
18-
> This feature is in {% data variables.release-phases.technical_preview %} and subject to change.
19+
> This feature is generally available.
20+
{% else %}
21+
> [!NOTE]
22+
> This feature is generally available starting with {% data variables.product.prodname_ghe_server %} 3.22.3. In earlier 3.22 patch releases, it is in {% data variables.release-phases.technical_preview %}.
23+
{% endif %}
1924

2025
You can configure {% data variables.copilot.copilot_cli_short %} to work with {% data variables.product.prodname_ghe_server %} in disconnected or air-gapped environments without connectivity to {% data variables.product.github %} Cloud. An administrator configures a model provider for the instance, and users connect {% data variables.copilot.copilot_cli_short %} with their {% data variables.product.prodname_ghe_server %} credentials.
2126

‎content/copilot/how-tos/copilot-cli/customize-copilot/add-mcp-servers.md‎

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ You can add MCP servers in the following ways:
4141
* [Using the `copilot mcp add` subcommand](#using-the-copilot-mcp-add-subcommand)
4242
* [Editing the configuration file](#editing-the-configuration-file)
4343
* [Adding per-repository MCP servers](#adding-per-repository-mcp-servers)
44-
* [Searching and installing from the registry (experimental)](#searching-and-installing-from-the-registry)
44+
* [Searching and installing from the registry](#searching-and-installing-from-the-registry)
4545

4646
For installation instructions, available tools, and URLs for specific MCP servers, see the [{% data variables.product.github %} MCP Registry](https://github.com/mcp).
4747

@@ -52,12 +52,12 @@ For installation instructions, available tools, and URLs for specific MCP server
5252
1. Next to **Server Name**, enter a unique name for the MCP server. This is the name you will use to refer to the server.
5353
1. Next to **Server Type**, select a type by pressing the corresponding number. The following types are available:
5454

55-
* **Local** or **STDIO**: starts a local process and communicates over standard input/output (`stdin`/`stdout`). Both options work the same way. **STDIO** is the standard MCP protocol type name, so choose this if you want your configuration to be compatible with {% data variables.product.prodname_vscode_shortname %}, the {% data variables.copilot.copilot_cloud_agent %}, and other MCP clients.
55+
* **STDIO**: starts a local process and communicates over standard input/output (`stdin`/`stdout`). This is the standard MCP protocol type name, so it's compatible with {% data variables.product.prodname_vscode_shortname %}, the {% data variables.copilot.copilot_cloud_agent %}, and other MCP clients.
5656
* **HTTP** or **SSE**: connects to a remote MCP server. **HTTP** uses the Streamable HTTP transport. **SSE** uses the legacy HTTP with Server-Sent Events transport, which is deprecated in the MCP specification but still supported for backwards compatibility. <!-- markdownlint-disable-line GHD046 -->
5757

5858
1. The remaining fields depend on the server type you selected:
5959

60-
* If you chose **Local** or **STDIO**:
60+
* If you chose **STDIO**:
6161

6262
* Next to **Command**, enter the command to start the server, including any arguments. For example, `npx @playwright/mcp@latest`. This corresponds to both the `command` and `args` properties in the JSON configuration file.
6363
* Next to **Environment Variables**, optionally specify environment variables the server needs, such as API keys or tokens, as JSON key-value pairs. For example, `{"API_KEY": "YOUR-API-KEY"}`. The `PATH` variable is automatically inherited from your environment. All other environment variables must be configured here.
@@ -201,9 +201,6 @@ The `.vscode/mcp.json` file for {% data variables.product.prodname_vscode_shortn
201201

202202
### Searching and installing from the registry
203203

204-
> [!NOTE]
205-
> The `/mcp search` command is currently an experimental feature. To use it, start {% data variables.copilot.copilot_cli_short %} with the `‑‑experimental` command line option, or enter `/experimental on` during a session.
206-
207204
You can discover and install MCP servers directly from the [{% data variables.product.github %} MCP Registry](https://github.com/mcp) using the `/mcp search` command in interactive mode. This lets you browse available servers, view their details, and install them without manually filling out the configuration form.
208205

209206
If your organization has configured a custom MCP registry URL, `/mcp search` connects to that registry instead of the default {% data variables.product.github %} registry.
@@ -219,13 +216,6 @@ If your organization has configured a custom MCP registry URL, `/mcp search` con
219216
1. Press <kbd>Ctrl</kbd>+<kbd>S</kbd> to save. The server is added to your `mcp-config.json` and started immediately.
220217

221218

222-
## Using agent finder
223-
224-
Agent finder searches a catalog of capabilities, including MCP servers, tools, agents, and skills. To make it available in the CLI:
225-
226-
1. Download the [agent finder skill](https://github.com/ards-project/connectors/blob/main/skills/github-copilot/SKILL.md).
227-
1. Add the skill to your `~/.copilot/skills` directory. For skill directory structure and installation guidance, see [AUTOTITLE](/copilot/how-tos/copilot-cli/customize-copilot/add-skills).
228-
229219
## Managing MCP servers
230220

231221
You can manage your configured MCP servers using the `/mcp` commands in interactive mode or the `copilot mcp` subcommands from the terminal.

‎content/copilot/how-tos/copilot-cli/customize-copilot/use-hooks.md‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,22 @@ The following examples for macOS and Windows show how to configure hooks that wi
102102

103103
{% data reusables.copilot.cloud-agent.troubleshoot-hooks %}
104104

105+
## Troubleshooting sandboxed hooks
106+
107+
If a hook fails or times out only when sandboxing is enabled, a tool it calls may need access to a configuration file or cache. See [AUTOTITLE](/copilot/reference/hooks-reference#sandboxed-sessions).
108+
109+
Before granting access, remember that user settings apply across CLI sessions and are not limited to this hook. Configuration files such as `.npmrc` can contain credentials. Grant only access you are willing to give to other sandboxed commands. Organization-managed restrictions still apply.
110+
111+
1. Check the hook's or tool's error output and logs for a denied file or directory. If the script suppresses errors, enable diagnostic output without logging credentials.
112+
1. Run `/sandbox policy` followed by the hook command to preview command-specific developer-tool access in your current directory.
113+
114+
> [!NOTE]
115+
> If the hook sets `cwd` you must run `/sandbox policy` from the configured `cwd` directory.
116+
117+
This does not inspect script files or include the hook's additional source and data directory permissions. See [AUTOTITLE](/copilot/concepts/security-governance-and-network-settings/understanding-local-sandboxing#checking-what-the-current-policy-allows).
118+
1. In your user settings, add only the required paths to `sandbox.userPolicy.filesystem.readonlyPaths` or `sandbox.userPolicy.filesystem.readwritePaths`. Use read-only access for configuration files and read/write access only for caches the tool needs to update. See [AUTOTITLE](/copilot/reference/copilot-cli-reference/cli-config-dir-reference#user-settings-copilotsettingsjson).
119+
1. Start a new CLI session and check whether the hook succeeds when its event next occurs.
120+
105121
## Further reading
106122

107123
* [AUTOTITLE](/copilot/reference/hooks-reference)

0 commit comments

Comments
 (0)