You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 95cd2ed
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: content/code-security/concepts/code-scanning/autofix-for-code-scanning.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,8 @@ There are two ways to get a fix for an alert: agentic autofix and {% data variab
23
23
24
24
## Agentic autofix
25
25
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 %}
27
28
28
29
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).
Copy file name to clipboardExpand all lines: content/code-security/how-tos/manage-security-alerts/manage-code-scanning-alerts/resolve-alerts.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ With a {% data variables.copilot.copilot_enterprise %} license, you can ask {% d
36
36
## Fixing alerts with {% data variables.product.prodname_copilot_short %}
37
37
38
38
> [!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 %}
40
40
41
41
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.
Copy file name to clipboardExpand all lines: content/copilot/how-tos/copilot-cli/customize-copilot/create-custom-agents-for-cli.md
+24Lines changed: 24 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -134,6 +134,30 @@ Each {% data variables.copilot.copilot_custom_agent_short %} is defined by a Mar
134
134
135
135
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.
136
136
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).
Copy file name to clipboardExpand all lines: content/get-started/accessibility/github-command-palette.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -163,7 +163,7 @@ Most of these commands are available only on the home page of the repository. If
163
163
|`New discussion`|Create a new discussion in the repository. For more information, see [AUTOTITLE](/discussions/quickstart#creating-a-new-discussion).|
164
164
|`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).
165
165
|`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).|
167
167
168
168
### File commands
169
169
@@ -172,7 +172,7 @@ These commands are available only when you open the command palette from a file
172
172
| Command | Behavior|
173
173
| :- | :- |
174
174
|`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).|
Copy file name to clipboardExpand all lines: content/get-started/using-github/connecting-to-github.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ For a tutorial to help you get started with making changes in the browser, see [
35
35
36
36
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.
37
37
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).
39
39
* 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).
40
40
41
41
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
68
68
| ---- | -------- | ------------------ |
69
69
|**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 |
70
70
| {% 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 |
72
72
|**{% 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 |
73
73
| {% endif %} |
74
74
|**{% 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 |
Copy file name to clipboardExpand all lines: data/release-notes/enterprise-server/3-21/0-rc1.yml
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -218,12 +218,6 @@ sections:
218
218
# https://github.com/github/releases/issues/7252
219
219
- |
220
220
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.
227
221
228
222
- heading: Integrations and extensions
229
223
notes:
@@ -297,3 +291,9 @@ sections:
297
291
# https://github.com/github/releases/issues/6651
298
292
- |
299
293
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]
Copy file name to clipboardExpand all lines: data/release-notes/enterprise-server/3-21/0.yml
+3-4Lines changed: 3 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -217,9 +217,6 @@ sections:
217
217
# https://github.com/github/releases/issues/7252
218
218
- |
219
219
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.
223
220
224
221
- heading: Integrations and extensions
225
222
notes:
@@ -300,4 +297,6 @@ sections:
300
297
- |
301
298
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]
302
299
- |
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