Skip to content

Commit 95cd2ed

Browse files
authored
Merge pull request #45986 from github/repo-sync
Repo sync
2 parents 3efc625 + 715eb47 commit 95cd2ed

13 files changed

Lines changed: 296 additions & 286 deletions

File tree

‎.github/agents/dependabot-ecosystem-update.md‎

Lines changed: 183 additions & 197 deletions
Large diffs are not rendered by default.

‎content/code-security/concepts/code-scanning/autofix-for-code-scanning.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ There are two ways to get a fix for an alert: agentic autofix and {% data variab
2323

2424
## Agentic autofix
2525

26-
> [!NOTE] This feature is currently in public preview and is subject to change.
26+
> [!NOTE]
27+
> This feature is currently in public preview and is subject to change. {% data reusables.copilot.preview-features-policy %}
2728
2829
Assign a {% data variables.product.prodname_code_scanning %} alert to {% data variables.product.prodname_copilot_short %} to have it resolve the alert for you. Assigning an alert starts an agent session: {% data variables.copilot.copilot_cloud_agent %} calls tools to explore your codebase beyond the affected file, generates a fix, validates it (for example, by re-running {% data variables.product.prodname_codeql %}), and iterates until it opens a pull request with the changes. See [AUTOTITLE](/code-security/how-tos/manage-security-alerts/manage-code-scanning-alerts/resolve-alerts#fixing-alerts-with-copilot).
2930

‎content/code-security/how-tos/manage-security-alerts/manage-code-scanning-alerts/resolve-alerts.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ With a {% data variables.copilot.copilot_enterprise %} license, you can ask {% d
3636
## Fixing alerts with {% data variables.product.prodname_copilot_short %}
3737

3838
> [!NOTE]
39-
> This feature is in {% data variables.release-phases.public_preview %} and subject to change. {% data variables.copilot.copilot_cloud_agent %} and {% data variables.copilot.copilot_autofix_short %} must be available in the repository.
39+
> This feature is in {% data variables.release-phases.public_preview %} and subject to change. {% data variables.copilot.copilot_cloud_agent %} and {% data variables.copilot.copilot_autofix_short %} must be available in the repository. {% data reusables.copilot.preview-features-policy %}
4040
4141
You can assign a {% data variables.product.prodname_code_scanning %} alert to {% data variables.product.prodname_copilot_short %} to have it fix the alert for you. Assigning the alert starts an agent session: {% data variables.copilot.copilot_cloud_agent %} explores your codebase, generates a fix, validates it, and opens a pull request.
4242

‎content/codespaces/the-githubdev-web-based-editor.md‎

Lines changed: 27 additions & 65 deletions
Large diffs are not rendered by default.

‎content/copilot/how-tos/copilot-cli/customize-copilot/create-custom-agents-for-cli.md‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,30 @@ Each {% data variables.copilot.copilot_custom_agent_short %} is defined by a Mar
134134

135135
Where `security-auditor` is the file name of the {% data variables.copilot.copilot_custom_agent_short %} profile, without the `.agent.md` extension. Typically, but not necessarily, this is the same as the `name` value in the agent profile.
136136

137+
## Applying your repository's custom instructions to a {% data variables.copilot.copilot_custom_agent_short %}
138+
139+
Custom instruction files—such as `.github/copilot-instructions.md`, `AGENTS.md`, and `CLAUDE.md`—tell {% data variables.product.prodname_copilot_short %} how to work in your repository. For more information, see [AUTOTITLE](/copilot/how-tos/copilot-on-github/customize-copilot/add-custom-instructions/add-repository-instructions).
140+
141+
When {% data variables.product.prodname_copilot_short %} runs your {% data variables.copilot.copilot_custom_agent_short %} as a subagent—to handle part of a larger task—the subagent does not follow your repository's custom instructions by default. This keeps the subagent focused on the specific task it was given.
142+
143+
If you want a subagent to follow your repository's conventions—for example, an agent that reviews or edits code—add `include-custom-instructions: true` to the agent file's frontmatter:
144+
145+
```text
146+
---
147+
name: RepoAwareReviewer
148+
description: Reviews a change against this repository's conventions
149+
tools: ["*"]
150+
include-custom-instructions: true
151+
---
152+
153+
Review the change and flag anything that violates the repository's conventions.
154+
```
155+
156+
> [!NOTE]
157+
> This setting only affects the agent when it runs as a subagent. A {% data variables.copilot.copilot_custom_agent_short %} that you select yourself—with `--agent`, `/agent`, or by inference—already follows your repository's custom instructions, so the setting has no effect in that case.
158+
159+
For more information, including how this setting interacts with the `--no-custom-instructions` option, see [AUTOTITLE](/copilot/reference/copilot-cli-reference/cli-command-reference#repository-custom-instructions-for-subagents).
160+
137161
## Further reading
138162

139163
* [AUTOTITLE](/copilot/concepts/agents/copilot-cli/comparing-cli-features)

‎content/copilot/reference/copilot-cli-reference/cli-command-reference.md‎

Lines changed: 43 additions & 7 deletions
Large diffs are not rendered by default.

‎content/get-started/accessibility/github-command-palette.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ Most of these commands are available only on the home page of the repository. If
163163
|`New discussion`|Create a new discussion in the repository. For more information, see [AUTOTITLE](/discussions/quickstart#creating-a-new-discussion).|
164164
|`New file`|Create a new file from any page in the repository. For more information, see [AUTOTITLE](/repositories/working-with-files/managing-files/adding-a-file-to-a-repository).
165165
|`New issue`|Open a new issue from any page in the repository. For more information, see [AUTOTITLE](/issues/tracking-your-work-with-issues/using-issues/creating-an-issue).|
166-
|`Open in {% data variables.codespaces.serverless %} editor`|Open the current repository in the {% data variables.codespaces.serverless %} editor. For more information, see [AUTOTITLE](/codespaces/the-githubdev-web-based-editor#opening-the-githubdev-editor).|
166+
|`Open in {% data variables.codespaces.serverless %} editor`|Open the current repository in {% data variables.product.prodname_vscode_web %}. For more information, see [AUTOTITLE](/codespaces/the-githubdev-web-based-editor#opening-vs-code-for-the-web-from-github).|
167167

168168
### File commands
169169

@@ -172,7 +172,7 @@ These commands are available only when you open the command palette from a file
172172
| Command | Behavior|
173173
| :- | :- |
174174
|`Copy permalink`|Create a link to the file that includes the current commit SHA and copy the link to the clipboard. For more information, see [AUTOTITLE](/repositories/working-with-files/using-files/getting-permanent-links-to-files#press-y-to-permalink-to-a-file-in-a-specific-commit).
175-
|`Open in {% data variables.codespaces.serverless %} editor`|Open the currently displayed file in {% data variables.codespaces.serverless %} editor. For more information, see [AUTOTITLE](/codespaces/the-githubdev-web-based-editor#opening-the-githubdev-editor).|
175+
|`Open in {% data variables.codespaces.serverless %} editor`|Open the currently displayed file in {% data variables.product.prodname_vscode_web %}. For more information, see [AUTOTITLE](/codespaces/the-githubdev-web-based-editor#opening-vs-code-for-the-web-from-github).|
176176

177177
### Discussion commands
178178

‎content/get-started/using-github/connecting-to-github.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ For a tutorial to help you get started with making changes in the browser, see [
3535

3636
Working directly on {% data variables.location.product_location %} is best for small, simple changes, often targeting a single file in a repository. If you want to work in the browser but need to make more complex changes, such as moving content between files, you can choose from the following tools to open a repository in a dedicated editor.
3737

38-
* If you want an editor where you can quickly open or create files, you can press the `.` key in any repository to open the github.dev editor. This is a lightweight web-based editor that includes many of the features of {% data variables.product.prodname_vscode %}, such as a search bar and buttons for Git commands. For more information, see [AUTOTITLE](/codespaces/the-githubdev-web-based-editor).
38+
* If you want an editor where you can quickly open or create files, you can press the `.` key in any repository to open {% data variables.product.prodname_vscode_web %}. This is a lightweight web-based editor that includes many of the features of {% data variables.product.prodname_vscode %}, such as a search bar and buttons for Git commands. For more information, see [AUTOTITLE](/codespaces/the-githubdev-web-based-editor).
3939
* If you want to stay in the browser but need to do things like run commands, create a test build of your project, or install dependencies, you can open a repository in a codespace. A codespace is a remote development environment with storage and compute power. It includes an editor and integrated terminal, and comes preinstalled with common tools you may need to work with a project, including Git. For more information, see [AUTOTITLE](/codespaces/quickstart).
4040

4141
Alternatively, you can connect to {% data variables.product.github %} from your desktop, and work with a local copy of the repository.{% else %}Working directly in the browser is best for small, simple changes, often targeting a single file in a repository. If you want to make more complex changes, you may need to connect to {% data variables.product.github %} from the desktop, and work with a local copy of the repository.{% endif %}
@@ -68,7 +68,7 @@ For more information about how to authenticate to {% data variables.product.gith
6868
| ---- | -------- | ------------------ |
6969
| **On {% data variables.location.product_location %}** | You want a visual interface and need to make quick, simple changes, typically involving a single commit. For an introduction, see [AUTOTITLE](/get-started/using-github/hello-world). | Browser |
7070
| {% ifversion fpt or ghec %} |
71-
| **github.dev** | You want to make more complex changes to a repository than is possible on {% data variables.product.prodname_dotcom_the_website %}, but don't need to work with a terminal or tools you have installed on your computer. For more information, see [AUTOTITLE](/codespaces/the-githubdev-web-based-editor#opening-the-githubdev-editor). | Browser |
71+
| **{% data variables.product.prodname_vscode_web %}** | You want to make more complex changes to a repository than is possible on {% data variables.product.prodname_dotcom_the_website %}, but don't need to work with a terminal or tools you have installed on your computer. For more information, see [AUTOTITLE](/codespaces/the-githubdev-web-based-editor#opening-vs-code-for-the-web-from-github). | Browser |
7272
| **{% data variables.product.prodname_github_codespaces %}** | You need the resources of a computer to do things like run scripts, create a test build of your project, or install dependencies, and you want to get started quickly by working in a cloud-based environment. For more information, see [AUTOTITLE](/codespaces/quickstart). | Browser or desktop |
7373
| {% endif %} |
7474
| **{% data variables.product.prodname_desktop %}** | You want to work with files locally, and would prefer a visual interface to use Git, visualize changes, and interact with {% data variables.product.github %}. For more information, see [AUTOTITLE](/desktop/overview/about-github-desktop). | Desktop |

‎data/release-notes/enterprise-server/3-21/0-rc1.yml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -218,12 +218,6 @@ sections:
218218
# https://github.com/github/releases/issues/7252
219219
- |
220220
Test merge commits for open pull requests are now generated less frequently, improving performance and reducing repository bloat from loose Git objects. The test merge commit associated with a pull request is updated when the pull request itself changes, when the merge base between the two branches changes, or when the current test merge is older than 12 hours. All mergeability checks and rules continue to be honored.
221-
# https://github.com/github/releases/issues/6670
222-
- |
223-
Pull request reviewers can comment on any line of a changed file, not just lines within the diff. Previously, comments could only be placed on the three lines before or after a changed line. This allows reviewers to leave feedback on unchanged lines that need attention and to place comments directly on the relevant line, making review feedback clearer and easier for authors to act on. This feature is in public preview and subject to change.
224-
# https://github.com/github/releases/issues/7688
225-
- |
226-
Users can view PR-level discussion comments in the side panel of the new Files Changed tab, allowing them to follow conversations while reviewing code without switching between the Files Changed and Conversation tabs. The side panel also supports filtering review and discussion comments. This feature is in public preview and subject to change.
227221
228222
- heading: Integrations and extensions
229223
notes:
@@ -297,3 +291,9 @@ sections:
297291
# https://github.com/github/releases/issues/6651
298292
- |
299293
Closing down: Networking-related syscalls will be disabled by default in the pre-receive hook environment starting in {% data variables.product.prodname_ghe_server %} version 3.22. For enhanced security, hook environments will be placed in dedicated network namespaces. You will be able to override the default setting by setting `pre-receive-hook-networking` to `enabled`. In many cases, [push rulesets](/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/about-rulesets#push-rulesets) are an alternative for many pre-receive hooks.
294+
295+
errata:
296+
- |
297+
These release notes previously included a note about viewing pull request-level discussion comments in the side panel of the new Files Changed tab. The note was added prematurely and has been removed. We will republish it when the feature is ready. [Updated: 2026-09-18]
298+
- |
299+
These release notes previously included a note about commenting on any line of a changed file in a pull request. The note was added prematurely and has been removed. We will republish it when the feature is ready. [Updated: 2026-09-18]

‎data/release-notes/enterprise-server/3-21/0.yml‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -217,9 +217,6 @@ sections:
217217
# https://github.com/github/releases/issues/7252
218218
- |
219219
Test merge commits for open pull requests are now generated less frequently, improving performance and reducing repository bloat from loose Git objects. The test merge commit associated with a pull request is updated when the pull request itself changes, when the merge base between the two branches changes, or when the current test merge is older than 12 hours. All mergeability checks and rules continue to be honored.
220-
# https://github.com/github/releases/issues/7688
221-
- |
222-
Users can view PR-level discussion comments in the side panel of the new Files Changed tab, allowing them to follow conversations while reviewing code without switching between the Files Changed and Conversation tabs. The side panel also supports filtering review and discussion comments. This feature is in public preview and subject to change.
223220
224221
- heading: Integrations and extensions
225222
notes:
@@ -300,4 +297,6 @@ sections:
300297
- |
301298
These release notes previously included a note about pull request reviewers being able to comment on any line of a changed file, not just lines within the diff. The note was added prematurely and has been removed. We will republish it when the feature is ready. [Updated: 2026-06-23]
302299
- |
303-
These release notes incorrecly indicated that the `case` function is supported in {% data variables.product.prodname_actions %} expressions. [Updated: 2026-07-30]
300+
These release notes previously included a note about viewing pull request-level discussion comments in the side panel of the new Files Changed tab. The note was added prematurely and has been removed. We will republish it when the feature is ready.  [Updated: 2026-09-18]
301+
- |
302+
These release notes incorrectly indicated that the `case` function is supported in {% data variables.product.prodname_actions %} expressions. [Updated: 2026-07-30]

0 commit comments

Comments
 (0)