Skip to content

Commit 293eb81

Browse files
authored
Merge pull request #42933 from github/repo-sync
Repo sync
2 parents 8a57a05 + d46abec commit 293eb81

File tree

13 files changed

+46
-18
lines changed

13 files changed

+46
-18
lines changed

content/code-security/tutorials/customize-code-scanning/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ topics:
1010
- Code scanning
1111
- CodeQL
1212
contentType: tutorials
13+
redirect_from:
14+
- /code-security/how-tos/scan-code-for-vulnerabilities/customize-code-scanning
1315
children:
1416
- /evaluating-default-setup-for-code-scanning
1517
- /preparing-your-code-for-codeql-analysis

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,8 @@ Users can include hidden messages in issues assigned to {% data variables.copilo
174174

175175
### Limitations in {% data variables.copilot.copilot_coding_agent %}'s software development workflow
176176

177-
* **{% data variables.product.prodname_copilot_short %} can only make changes in the same repository where it is creating its pull request**. When {% data variables.product.prodname_copilot_short %} is assigned an issue, it can only make changes in the repository where that issue is located. In addition, {% data variables.product.prodname_copilot_short %} cannot make changes across multiple repositories in one run.
178-
* **{% data variables.product.prodname_copilot_short %} can only access context in the same repository as the assigned issue**. By default, an integration with the {% data variables.product.prodname_copilot_short %} MCP server provides {% data variables.product.prodname_copilot_short %} access to one repository at a time. You can, however, configure broader access. See [AUTOTITLE](/copilot/using-github-copilot/coding-agent/extending-copilot-coding-agent-with-mcp).
177+
* **{% data variables.product.prodname_copilot_short %} can only make changes in the repository specified when you start a task**. {% data variables.product.prodname_copilot_short %} cannot make changes across multiple repositories in one run.
178+
* **By default, {% data variables.product.prodname_copilot_short %} can only access context in the repository specified when you start a task**. The {% data variables.product.prodname_copilot_short %} MCP server is configured by default to allow {% data variables.product.prodname_copilot_short %} to access context (for example issues and historic pull requests) in the repository where it is working. You can, however, configure broader access. See [AUTOTITLE](/copilot/using-github-copilot/coding-agent/extending-copilot-coding-agent-with-mcp).
179179
* **{% data variables.product.prodname_copilot_short %} can only open one pull request at a time**. {% data variables.product.prodname_copilot_short %} will open exactly one pull request to address each task it is assigned.
180180

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

content/copilot/how-tos/use-copilot-agents/coding-agent/create-a-pr.md

Lines changed: 28 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ You can ask {% data variables.product.prodname_copilot_short %} to create a new
4242
* The [{% data variables.product.prodname_cli %}](#asking-copilot-to-create-a-pull-request-from-the-github-cli)
4343
* On [{% data variables.product.prodname_mobile %}](#asking-copilot-to-create-a-pull-request-from-github-mobile)
4444
* Your preferred IDE or agentic coding tool with [Model Context Protocol (MCP)](#asking-copilot-to-create-a-pull-request-from-the-github-mcp-server) support
45-
* The [Raycast](#asking-copilot-to-create-a-pull-request-from-raycast) launcher on macOS
45+
* The [Raycast](#asking-copilot-to-create-a-pull-request-from-raycast) launcher
4646
* The ["New repository" form](#asking-copilot-to-create-a-pull-request-from-the-new-repository-page) on {% data variables.product.github %}
4747

4848
{% data variables.product.prodname_copilot_short %} will start working on the task, raise a pull request, then request a review from you when it's finished working. For more information, see [AUTOTITLE](/copilot/using-github-copilot/coding-agent/about-assigning-tasks-to-copilot).
@@ -56,6 +56,7 @@ You can assign an issue to {% data variables.product.prodname_copilot_short %}:
5656
* On {% data variables.product.prodname_dotcom_the_website %} (see the [next section](#assigning-an-issue-to-copilot-on-githubcom))
5757
* On [{% data variables.product.prodname_mobile %}](#assigning-an-issue-to-copilot-on-github-mobile)
5858
* Via the {% data variables.product.github %} API (see [later in this article](#assigning-an-issue-to-copilot-via-the-github-api))
59+
* Using the [Raycast launcher](#assigning-an-issue-to-copilot-from-raycast)
5960
* Using {% data variables.product.prodname_cli %} (see [`gh issue edit`](https://cli.github.com/manual/gh_issue_edit))
6061

6162
### Assigning an issue to {% data variables.product.prodname_copilot_short %} on {% data variables.product.prodname_dotcom_the_website %}
@@ -96,7 +97,7 @@ You can assign an issue to {% data variables.product.prodname_copilot_short %}:
9697
> [!TIP]
9798
> When you assign an issue to {% data variables.product.prodname_copilot_short %}, it gets sent the issue title, description, any comments that currently exist, and any additional instructions you provide. After assigning the issue, {% data variables.product.prodname_copilot_short %} will not be aware of, and therefore won't react to, any further comments that are added to the issue. If you have more information, or changes to the original requirement, add this as a comment in the pull request that {% data variables.product.prodname_copilot_short %} raises.
9899
99-
{% data reusables.copilot.optional-select-custom-agent %}
100+
{% data reusables.copilot.optional-select-custom-agent-dotcom %}
100101
{% data reusables.copilot.optional-select-copilot-coding-agent-model %}
101102

102103
You can also assign issues to {% data variables.product.prodname_copilot_short %} from other places on {% data variables.product.prodname_dotcom_the_website %}:
@@ -418,6 +419,26 @@ gh api \
418419
}'
419420
```
420421

422+
### Assigning an issue to {% data variables.product.prodname_copilot_short %} from Raycast
423+
424+
{% data reusables.copilot.coding-agent.raycast-intro %}
425+
426+
{% data reusables.copilot.coding-agent.raycast-setup %}
427+
1. Open Raycast, search for "{% data variables.product.prodname_copilot_short %}," find the **Assign Issues to {% data variables.product.prodname_copilot_short %}** command, then press <kbd>Enter</kbd>.
428+
1. Click **Sign in with {% data variables.product.github %}**, then complete the authentication flow. Raycast will re-open.
429+
1. Select the repository you want {% data variables.product.prodname_copilot_short %} to work in.
430+
1. Select the issue you want to assign to {% data variables.product.prodname_copilot_short %}.
431+
1. Optionally, select a base branch for {% data variables.product.prodname_copilot_short %}'s pull request. {% data variables.product.prodname_copilot_short %} will create a new branch based on this branch, then push the changes to a pull request targeting that branch.
432+
{% data reusables.copilot.optional-select-custom-agent-generic %}
433+
{% data reusables.copilot.optional-select-copilot-coding-agent-model %}
434+
1. Optionally, provide additional instructions. These will be passed to {% data variables.product.prodname_copilot_short %} alongside your issue contents.
435+
1. Press <kbd>Command</kbd>+<kbd>Enter</kbd> to assign the issue.
436+
437+
{% data variables.product.prodname_copilot_short %} will start a new session. {% data variables.product.prodname_copilot_short %} will work on the task and push changes to its pull request, then add you as a reviewer when it has finished, triggering a notification.
438+
439+
440+
{% data reusables.copilot.coding-agent.raycast-oauth-access-restrictions %}
441+
421442
## Asking {% data variables.product.prodname_copilot_short %} to create a pull request from the agents tab or panel
422443

423444
You can ask {% data variables.product.prodname_copilot_short %} to open a pull request from either the agents tab or the agents panel. The only difference is the entry point - once you see the "New agent task" form, the steps are the same.
@@ -437,7 +458,7 @@ You can ask {% data variables.product.prodname_copilot_short %} to open a pull r
437458
For example, `Implement a user friendly message for common errors.`
438459

439460
1. Optionally, select a base branch for {% data variables.product.prodname_copilot_short %}'s pull request. {% data variables.product.prodname_copilot_short %} will create a new branch based on this branch, then push the changes to a pull request.
440-
{% data reusables.copilot.optional-select-custom-agent %}
461+
{% data reusables.copilot.optional-select-custom-agent-dotcom %}
441462
1. Click **{% octicon "paper-airplane" aria-label="Send now" %} Send now** or press <kbd>Return</kbd>.
442463

443464
You will be taken to the agents tab, and {% data variables.product.prodname_copilot_short %} will start a new session, which will appear in the "Recent sessions" list below the prompt box. {% data variables.product.prodname_copilot_short %} will work on the task and push changes to its pull request, then add you as a reviewer when it has finished, triggering a notification.
@@ -521,7 +542,7 @@ You can ask {% data variables.product.prodname_copilot_short %} to open a pull r
521542
For example, `/task Put backticks around file names and variables in output.`
522543

523544
1. Optionally, select a base branch for {% data variables.product.prodname_copilot_short %}'s pull request. {% data variables.product.prodname_copilot_short %} will create a new branch based on this branch, then push the changes to a pull request targeting that branch.
524-
{% data reusables.copilot.optional-select-custom-agent %}
545+
{% data reusables.copilot.optional-select-custom-agent-dotcom %}
525546
1. Click **{% octicon "paper-airplane" aria-label="Start task" %}** or press <kbd>Enter</kbd>.
526547

527548
{% data variables.product.prodname_copilot_short %} will start a new session, which will appear in the list below the prompt box. {% data variables.product.prodname_copilot_short %} will work on the task and push changes to its pull request, then add you as a reviewer when it has finished, triggering a notification.
@@ -592,14 +613,14 @@ To see all of the available options, run `gh agent-task create --help`.
592613
For example, `Implement a user friendly message for common errors.`
593614
1. Select the repository you want {% data variables.product.prodname_copilot_short %} to work in.
594615
1. Optionally, select a base branch for {% data variables.product.prodname_copilot_short %}'s pull request. {% data variables.product.prodname_copilot_short %} will create a new branch based on this branch, then push the changes to a pull request targeting that branch.
616+
{% data reusables.copilot.optional-select-custom-agent-generic %}
595617
{% data reusables.copilot.optional-select-copilot-coding-agent-model %}
596618
1. Press <kbd>Command</kbd>+<kbd>Enter</kbd> to start the task.
597619

598620
{% data variables.product.prodname_copilot_short %} will start a new session. {% data variables.product.prodname_copilot_short %} will work on the task and push changes to its pull request, then add you as a reviewer when it has finished, triggering a notification.
599621

600-
> [!NOTE]
601-
>
602-
> If you are unable to select a specific repository when starting a task, the organization that owns the repository may have enabled {% data variables.product.prodname_oauth_app %} access restrictions. To learn how to request approval for the "{% data variables.product.prodname_copilot %} for Raycast" {% data variables.product.prodname_oauth_app %}, see [AUTOTITLE](/account-and-profile/how-tos/setting-up-and-managing-your-personal-account-on-github/managing-your-membership-in-organizations/requesting-organization-approval-for-oauth-apps).
622+
623+
{% data reusables.copilot.coding-agent.raycast-oauth-access-restrictions %}
603624

604625
## Asking {% data variables.product.prodname_copilot_short %} to create a pull request from the "New repository" page
605626

content/copilot/how-tos/use-copilot-agents/manage-agents.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ category:
2424
* Open the Agents panel by clicking the {% octicon "agent" aria-label="The Agents icon" %} at the top of any page on {% data variables.product.github %}
2525
1. Using the dropdown menu, select the repository you want the coding agent to work in.
2626
1. Optionally, select a base branch for {% data variables.product.prodname_copilot_short %}'s pull request.
27-
{% data reusables.copilot.optional-select-custom-agent %}
27+
{% data reusables.copilot.optional-select-custom-agent-dotcom %}
2828
1. Optionally, select the **CURRENT-MODEL** {% octicon "chevron-down" aria-hidden="true" aria-label="chevron-down" %} dropdown menu, then click the AI model of your choice.
2929
1. Type a prompt describing your request. For example:
3030

data/reusables/actions/supported-github-runners.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ For public repositories, jobs using the workflow labels shown in the table below
3636
<td>
3737
<code><a href="https://github.com/actions/runner-images/blob/main/images/windows/Windows2025-Readme.md">windows-latest</a></code>,
3838
<code><a href="https://github.com/actions/runner-images/blob/main/images/windows/Windows2025-Readme.md">windows-2025</a></code>,
39-
<code><a href="https://github.com/actions/runner-images/blob/main/images/windows/Windows2025-vs2026-Readme.md">windows-2025-vs2026</a></code> ({% data variables.release-phases.public_preview %}),
39+
<code><a href="https://github.com/actions/runner-images/blob/main/images/windows/Windows2025-VS2026-Readme.md">windows-2025-vs2026</a></code> ({% data variables.release-phases.public_preview %}),
4040
<code><a href="https://github.com/actions/runner-images/blob/main/images/windows/Windows2022-Readme.md">windows-2022</a></code>
4141
</td>
4242
</tr>

data/reusables/copilot/coding-agent/new-agent-task-form-instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
For example, `Implement a user friendly message for common errors.`
55

66
1. Optionally, select a base branch for {% data variables.product.prodname_copilot_short %}'s pull request. {% data variables.product.prodname_copilot_short %} will create a new branch based on this branch, then push the changes to a pull request targeting that branch.
7-
1. {% data reusables.copilot.optional-select-custom-agent %}
7+
1. {% data reusables.copilot.optional-select-custom-agent-dotcom %}
88
{% data reusables.copilot.optional-select-copilot-coding-agent-model %}
99
1. Click **{% octicon "paper-airplane" aria-label="Start task" %}** or press <kbd>Enter</kbd>.
1010

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
[Raycast](https://www.raycast.com/) is an extensible launcher for macOS. With the {% data variables.product.prodname_copilot %} extension for Raycast, you can start and track {% data variables.copilot.copilot_coding_agent %} tasks wherever you are on your computer.
1+
[Raycast](https://www.raycast.com/) is an extensible launcher for Windows and macOS. With the {% data variables.product.prodname_copilot %} extension for Raycast, you can start and track {% data variables.copilot.copilot_coding_agent %} tasks wherever you are on your computer.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
> [!NOTE]
2+
>
3+
> If you are unable to select a specific repository when starting a task, the organization that owns the repository may have enabled {% data variables.product.prodname_oauth_app %} access restrictions. To learn how to request approval for the "{% data variables.product.prodname_copilot %} for Raycast" {% data variables.product.prodname_oauth_app %}, see [AUTOTITLE](/account-and-profile/how-tos/setting-up-and-managing-your-personal-account-on-github/managing-your-membership-in-organizations/requesting-organization-approval-for-oauth-apps).

data/reusables/copilot/optional-select-custom-agent.md renamed to data/reusables/copilot/optional-select-custom-agent-dotcom.md

File renamed without changes.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1. Optionally, select a {% data variables.copilot.copilot_custom_agent_short %} with specialized behavior and tools from the dropdown menu. For more information, see [AUTOTITLE](/copilot/how-tos/use-copilot-agents/coding-agent/create-custom-agents).

0 commit comments

Comments
 (0)