From fc9839bbaf7c370cb61253af9905a7640d22bd5a Mon Sep 17 00:00:00 2001 From: Tim Rogers Date: Tue, 19 Aug 2025 16:35:27 +0100 Subject: [PATCH 1/3] [2025-08-12] GitHub Copilot Agents panel available on every page on GitHub (#57056) Co-authored-by: Sophie <29382425+sophietheking@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .../concepts/coding-agent/coding-agent.md | 2 +- .../coding-agent/create-a-pr.md | 26 +++++++------------ .../coding-agent/track-copilot-sessions.md | 16 +++++++----- .../new-agent-task-form-instructions.md | 9 +++++++ 4 files changed, 28 insertions(+), 25 deletions(-) create mode 100644 data/reusables/copilot/coding-agent/new-agent-task-form-instructions.md diff --git a/content/copilot/concepts/coding-agent/coding-agent.md b/content/copilot/concepts/coding-agent/coding-agent.md index 40ef8df06b09..15a2036e1317 100644 --- a/content/copilot/concepts/coding-agent/coding-agent.md +++ b/content/copilot/concepts/coding-agent/coding-agent.md @@ -36,7 +36,7 @@ With {% data variables.copilot.copilot_coding_agent %}, {% data variables.produc To delegate tasks to {% data variables.product.prodname_copilot_short %}, you can: * Assign an issue to {% data variables.product.prodname_copilot_short %}. See [AUTOTITLE](/copilot/using-github-copilot/coding-agent/using-copilot-to-work-on-an-issue). -* Ask {% data variables.product.prodname_copilot_short %} to create a pull request from the Agents page on {% data variables.product.github %}, {% data variables.copilot.copilot_chat %} or your favorite IDE or agentic coding tool with MCP support. See [AUTOTITLE](/copilot/using-github-copilot/coding-agent/asking-copilot-to-create-a-pull-request). +* Ask {% data variables.product.prodname_copilot_short %} to create a pull request from the Agents panel or page on {% data variables.product.github %}, {% data variables.copilot.copilot_chat %} or your favorite IDE or agentic coding tool with MCP support. See [AUTOTITLE](/copilot/using-github-copilot/coding-agent/asking-copilot-to-create-a-pull-request). {% data variables.product.prodname_copilot_short %} will evaluate the task it has been assigned based on the prompt you give it—whether that's from the issue description or a chat message. Then {% data variables.product.prodname_copilot_short %} will make the required changes and open a pull request. When {% data variables.product.prodname_copilot_short %} finishes, it will request a review from you, and you can leave pull request comments to ask {% data variables.product.prodname_copilot_short %} to iterate. diff --git a/content/copilot/how-tos/use-copilot-agents/coding-agent/create-a-pr.md b/content/copilot/how-tos/use-copilot-agents/coding-agent/create-a-pr.md index 7c2336c172e3..7953dc039925 100644 --- a/content/copilot/how-tos/use-copilot-agents/coding-agent/create-a-pr.md +++ b/content/copilot/how-tos/use-copilot-agents/coding-agent/create-a-pr.md @@ -1,7 +1,7 @@ --- title: Asking GitHub Copilot to create a pull request shortTitle: Create a PR -intro: 'You can ask {% data variables.product.prodname_copilot_short %} to create a pull request from the Agents page, {% data variables.copilot.copilot_chat_short %}, or agentic coding tools and IDEs with Model Context Protocol (MCP) support.' +intro: 'You can ask {% data variables.product.prodname_copilot_short %} to create a pull request from the Agents panel or page, {% data variables.copilot.copilot_chat_short %}, or agentic coding tools and IDEs with Model Context Protocol (MCP) support.' product: '{% data reusables.gated-features.copilot-coding-agent %}
Sign up for {% data variables.product.prodname_copilot_short %} {% octicon "link-external" height:16 %}' versions: feature: copilot @@ -25,35 +25,27 @@ contentType: how-tos You can ask {% data variables.product.prodname_copilot_short %} to work on a task from: +* The Agents panel, available across {% data variables.product.github %} * The Agents page on {% data variables.product.github %} * {% data variables.copilot.copilot_chat_short %} in {% data variables.product.prodname_vscode %}, {% data variables.product.prodname_vs %}, JetBrains IDEs and {% data variables.product.prodname_dotcom_the_website %} * Your preferred IDE or agentic coding tool with Model Context Protocol (MCP) support {% 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). -## Asking {% data variables.product.prodname_copilot_short %} to create a pull request from the Agents page +## Asking {% data variables.product.prodname_copilot_short %} to create a pull request from the Agents panel or page -1. Navigate to the Agents page at [github.com/copilot/agents](https://github.com/copilot/agents). +You can ask {% data variables.product.prodname_copilot_short %} to open a pull request from either the Agents panel or the Agents page. The only difference is the entry point - once you see the "New agent task" form, the steps are the same. - You can also reach this page by clicking the **{% octicon "copilot" aria-label="Copilot icon" %}** button next to the search bar on any page on {% data variables.product.github %}, then selecting **Agents** from the sidebar. +1. Open the Agents panel or page: -1. Using the dropdown menu in the prompt field, select the repository you want {% data variables.product.prodname_copilot_short %} to work in. + * **Open the Agents panel**: Click {% octicon "agent" aria-label="The Agents icon" %} in the navigation bar at the top right of {% data variables.product.github %}. + * **Navigate to the Agents page**: Go to [github.com/copilot/agents](https://github.com/copilot/agents). You can also get here by opening the Agents panel, then clicking **View all**. -1. Type a prompt describing your request. - - For example, `Implement a user friendly message for common errors.` - - ![Screenshot of asking Copilot to create a pull request from the Agents page.](/assets/images/help/copilot/coding-agent/agents-page-input.png) - -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 its changes to a pull request targeting that branch. - -1. Click the **Send now** button or press Return. - - {% 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. +{% data reusables.copilot.coding-agent.new-agent-task-form-instructions %} ## Asking {% data variables.product.prodname_copilot_short %} to create a pull request from {% data variables.copilot.copilot_chat_short %} in {% data variables.product.prodname_vscode %} -1. Install the [GitHub Pull Requests extension](https://marketplace.visualstudio.com/items?itemName=GitHub.vscode-pull-request-github) for {% data variables.product.prodname_vscode %}. +1. Install the [{% data variables.product.github %} Pull Requests extension](https://marketplace.visualstudio.com/items?itemName=GitHub.vscode-pull-request-github) for {% data variables.product.prodname_vscode %}. 1. Open {% data variables.copilot.copilot_chat %} in {% data variables.product.prodname_vscode %}. 1. Type a prompt explaining what you want {% data variables.product.prodname_copilot_short %} to do, and add `#copilotCodingAgent` to the prompt. diff --git a/content/copilot/how-tos/use-copilot-agents/coding-agent/track-copilot-sessions.md b/content/copilot/how-tos/use-copilot-agents/coding-agent/track-copilot-sessions.md index 24aed5b2892d..333ab98f8064 100644 --- a/content/copilot/how-tos/use-copilot-agents/coding-agent/track-copilot-sessions.md +++ b/content/copilot/how-tos/use-copilot-agents/coding-agent/track-copilot-sessions.md @@ -1,7 +1,7 @@ --- title: Tracking GitHub Copilot's sessions shortTitle: Track Copilot sessions -intro: 'You can use the Agents page, {% data variables.product.prodname_vscode %} and session logs to track {% data variables.product.prodname_copilot_short %}''s progress and understand its approach.' +intro: 'You can use the Agents panel or page, {% data variables.product.prodname_vscode %} and session logs to track {% data variables.product.prodname_copilot_short %}''s progress and understand its approach.' product: '{% data reusables.gated-features.copilot-coding-agent %}
Sign up for {% data variables.product.prodname_copilot_short %} {% octicon "link-external" height:16 %}' versions: feature: copilot @@ -24,25 +24,27 @@ contentType: how-tos After you give {% data variables.product.prodname_copilot_short %} a task, it works autonomously in the background to complete it. See [AUTOTITLE](/copilot/concepts/about-copilot-coding-agent). -The [Agents page](https://github.com/copilot/agents) provides an overview of your agent sessions across repositories. From this page, you can kick off new tasks and track {% data variables.product.prodname_copilot_short %}'s progress. +The Agents panel and [Agents page](https://github.com/copilot/agents) provide an overview of your agent sessions across repositories. You can use them to kick off new tasks and track {% data variables.product.prodname_copilot_short %}'s progress. You can also track {% data variables.product.prodname_copilot_short %}'s sessions in a specific repository from {% data variables.product.prodname_vscode %}. During or after an agent session, you can inspect the session logs to understand {% data variables.product.prodname_copilot_short %}'s approach to your problem. -## Tracking agent sessions from the Agents page +## Tracking agent sessions from the Agents panel or page -You can see a list of your running and past agent sessions on the Agents page at [github.com/copilot/agents](https://github.com/copilot/agents). +You can see a list of your running and past agent sessions in the Agents panel, available from every page on {% data variables.product.github %}, or on the dedicated Agents page. -You can also reach this page by clicking the **{% octicon "copilot" aria-label="Copilot icon" %}** button next to the search bar on any page on {% data variables.product.github %}, then selecting **Agents** from the sidebar. +To open the Agents panel, click {% octicon "agent" aria-label="The Agents icon" %} in the navigation bar on any page. -For each session listed below the prompt field, you can see its status at a glance, or click on it to navigate to the linked pull request. +To open the Agents page, open the Agents panel, then click **View all**. + +For each session listed below, you can see its status at a glance, or click on it to navigate to the linked pull request. To view the session logs, click through to the pull request in the list, then find the "{% data variables.product.prodname_copilot_short %} started work..." event in the timeline, and then click **View session**. ![Screenshot of a section of a pull request with the 'View session' button highlighted.](/assets/images/help/copilot/coding-agent/log-view-session.png) -You can also start new agent sessions from this page. See [AUTOTITLE](/copilot/how-tos/agents/copilot-coding-agent/asking-copilot-to-create-a-pull-request). +You can also start new agent sessions from the page and panel. See [AUTOTITLE](/copilot/how-tos/agents/copilot-coding-agent/asking-copilot-to-create-a-pull-request). ## Tracking sessions from {% data variables.product.prodname_vscode %} diff --git a/data/reusables/copilot/coding-agent/new-agent-task-form-instructions.md b/data/reusables/copilot/coding-agent/new-agent-task-form-instructions.md new file mode 100644 index 000000000000..d52c33bf27ac --- /dev/null +++ b/data/reusables/copilot/coding-agent/new-agent-task-form-instructions.md @@ -0,0 +1,9 @@ +1. Using the dropdown menu in the prompt field, select the repository you want {% data variables.product.prodname_copilot_short %} to work in. +1. Type a prompt describing your request. + + For example, `Implement a user friendly message for common errors.` + +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. +1. Click **{% octicon "paper-airplane" aria-label="Start task" %} Start task** or press Return. + + {% 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. From 37d49b19ed0368722c398e435bfdb35af187ec04 Mon Sep 17 00:00:00 2001 From: Jamie Magee Date: Tue, 19 Aug 2025 08:57:36 -0700 Subject: [PATCH 2/3] Add dependabot ecosystem support for Rust toolchain (#56949) Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com> Co-authored-by: Sophie <29382425+sophietheking@users.noreply.github.com> --- .../dependabot-options-reference.md | 3 +++ .../dependabot-rust-toolchain-support.yml | 6 ++++++ .../dependabot/supported-package-managers.md | 16 ++++++++++++++++ 3 files changed, 25 insertions(+) create mode 100644 data/features/dependabot-rust-toolchain-support.yml diff --git a/content/code-security/dependabot/working-with-dependabot/dependabot-options-reference.md b/content/code-security/dependabot/working-with-dependabot/dependabot-options-reference.md index bfe43bd5b7a2..c2350a3ec931 100644 --- a/content/code-security/dependabot/working-with-dependabot/dependabot-options-reference.md +++ b/content/code-security/dependabot/working-with-dependabot/dependabot-options-reference.md @@ -503,6 +503,9 @@ Package manager | YAML value | Supported versions | | pnpm | `npm` | v7, v8
v9, v10 (version updates only) | | poetry | `pip` | v2 | | pub | `pub` | v2 | +| {% ifversion dependabot-rust-toolchain-support %} | +| Rust toolchain | `rust-toolchain` | Not applicable | +| {% endif %} | | Swift | `swift` | v5 | | Terraform | `terraform` | >= 0.13, <= 1.10.x | | uv | `uv` | v0 | diff --git a/data/features/dependabot-rust-toolchain-support.yml b/data/features/dependabot-rust-toolchain-support.yml new file mode 100644 index 000000000000..558bcd5285f6 --- /dev/null +++ b/data/features/dependabot-rust-toolchain-support.yml @@ -0,0 +1,6 @@ +# Reference: #19113 +# Rust toolchain support for Dependabot +versions: + fpt: '*' + ghec: '*' + ghes: '>= 3.20' diff --git a/data/reusables/dependabot/supported-package-managers.md b/data/reusables/dependabot/supported-package-managers.md index 619a7d9cf945..fafa22cceb3a 100644 --- a/data/reusables/dependabot/supported-package-managers.md +++ b/data/reusables/dependabot/supported-package-managers.md @@ -32,6 +32,9 @@ pipenv | `pip` | <= 2021-05-29 | {% octicon "check" aria-l | {% ifversion dependabot-updates-pnpmv9-support %}pnpm{% else %}[pnpm](#pnpm){% endif %} | `npm` | v7, v8, v9, v10 | {% octicon "check" aria-label="Supported" %} | {% octicon "check" aria-label="Supported" %} {% ifversion dependabot-updates-pnpmv9-support %}{% else %}(v7 and v8 only){% endif %}| {% octicon "check" aria-label="Supported" %} | {% octicon "check" aria-label="Supported" %} | {% octicon "x" aria-label="Not supported" %} | poetry | `pip` | v1 | {% octicon "check" aria-label="Supported" %} | {% octicon "check" aria-label="Supported" %} | {% octicon "x" aria-label="Not supported" %} | {% octicon "check" aria-label="Supported" %} | {% octicon "x" aria-label="Not supported" %} | [pub](#pub) | `pub` | v2 | {% octicon "check" aria-label="Supported" %} | {% octicon "check" aria-label="Supported" %} | {% octicon "check" aria-label="Supported" %} | {% octicon "check" aria-label="Supported" %} | {% octicon "x" aria-label="Not supported" %} | +| {% ifversion dependabot-rust-toolchain-support %} | +[Rust toolchain](#rust-toolchain) | `rust-toolchain` | Not applicable | {% octicon "check" aria-label="Supported" %} | {% octicon "x" aria-label="Not supported" %} | {% octicon "check" aria-label="Supported" %} | Not applicable | Not applicable | +| {% endif %} | [Swift](#swift) | `swift` | v5 | {% octicon "check" aria-label="Supported" %} | {% octicon "check" aria-label="Supported" %} | {% octicon "check" aria-label="Supported" %} | {% octicon "check" aria-label="Supported" %} (git only) | {% octicon "x" aria-label="Not supported" %} | [Terraform](#terraform) | `terraform` | >= 0.13, <= 1.10.x | {% octicon "check" aria-label="Supported" %} | {% octicon "x" aria-label="Not supported" %} | {% octicon "check" aria-label="Supported" %} | {% octicon "check" aria-label="Supported" %} | Not applicable | uv | `uv` | v0 | {% octicon "check" aria-label="Supported" %} | {% octicon "x" aria-label="Not supported" %} | {% octicon "check" aria-label="Supported" %} | {% octicon "check" aria-label="Supported" %} | Not applicable | @@ -153,6 +156,19 @@ The PEP 621 `project` section isn't currently supported for `poetry`. You can use {% data variables.product.prodname_dependabot %} to keep Dart dependencies up-to-date if you use private hosted pub repositories. For information about allowing {% data variables.product.prodname_dependabot %} to access private {% data variables.product.prodname_dotcom %} dependencies, see [Allowing {% data variables.product.prodname_dependabot %} to access private dependencies](/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/managing-security-and-analysis-settings-for-your-organization#allowing-dependabot-to-access-private{% ifversion ghec or ghes %}-or-internal{% endif %}-dependencies). +{% ifversion dependabot-rust-toolchain-support %} + +#### Rust toolchain + +{% data variables.product.prodname_dependabot %} supports automatic updates for Rust toolchain versions defined in `rust-toolchain.toml` and `rust-toolchain` files. + +Supported update patterns {% data variables.product.prodname_dependabot %} can update: + +* Versioned toolchains such as `channel = "1.xx.yy"` and `channel = "1.xx"`. +* Dated toolchains such as `channel = "nightly-YYYY-MM-DD"` and `channel = "beta-YYYY-MM-DD"`. + +{% endif %} + #### Swift Private registry support applies to git registries only. Swift registries are not supported. Non-declarative manifests are not supported. For more information on non-declarative manifests, see [Editing Non-Declarative Manifests](https://github.com/apple/swift-evolution/blob/7003da1439ad60896ec14657dfce829f04b0632c/proposals/0301-package-editing-commands.md#editing-non-declarative-manifests) in the Swift Evolution documentation. From 354bf3c55bf0c5a16b3c90a12209f1ad070a643e Mon Sep 17 00:00:00 2001 From: Kevin Heis Date: Tue, 19 Aug 2025 10:22:19 -0700 Subject: [PATCH 3/3] Fix Copilot Cookbook navigation bar duplicate entries (#57198) --- content/copilot/tutorials/copilot-chat-cookbook/index.md | 2 +- src/landings/components/SidebarProduct.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/copilot/tutorials/copilot-chat-cookbook/index.md b/content/copilot/tutorials/copilot-chat-cookbook/index.md index c89e69b825da..8863cce03c3e 100644 --- a/content/copilot/tutorials/copilot-chat-cookbook/index.md +++ b/content/copilot/tutorials/copilot-chat-cookbook/index.md @@ -12,7 +12,7 @@ topics: layout: category-landing sidebarLink: text: All prompts - href: /copilot/copilot-chat-cookbook + href: /copilot/tutorials/copilot-chat-cookbook spotlight: - article: /testing-code/generate-unit-tests image: /assets/images/copilot-landing/generating_unit_tests.png diff --git a/src/landings/components/SidebarProduct.tsx b/src/landings/components/SidebarProduct.tsx index 1e237c7a0125..458a104c4430 100644 --- a/src/landings/components/SidebarProduct.tsx +++ b/src/landings/components/SidebarProduct.tsx @@ -102,7 +102,7 @@ function NavListItem({ childPage }: { childPage: ProductTreeNode }) { {childPage.sidebarLink.text} )} - {specialCategory && ( + {specialCategory && !childPage.sidebarLink && ( {childPage.title}