@@ -503,6 +503,9 @@ Package manager | YAML value | Supported versions |
|
||||
| pnpm | `npm` | v7, v8 <br>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 |
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
@@ -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 %}<br><a href="https://github.com/features/copilot/plans?ref_cta=Copilot+plans+signup&ref_loc=asking+copilot+to+create+a+pull+request&ref_page=docs" target="_blank" class="btn btn-primary mt-3 mr-3 no-underline"><span>Sign up for {% data variables.product.prodname_copilot_short %}</span> {% octicon "link-external" height:16 %}</a>'
|
||||
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.`
|
||||
|
||||

|
||||
|
||||
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 <kbd>Return</kbd>.
|
||||
|
||||
{% 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.
|
||||
|
||||
|
||||
@@ -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 %}<br><a href="https://github.com/features/copilot/plans?ref_cta=Copilot+plans+signup&ref_loc=using+the+copilot+coding+agent+logs&ref_page=docs" target="_blank" class="btn btn-primary mt-3 mr-3 no-underline"><span>Sign up for {% data variables.product.prodname_copilot_short %}</span> {% octicon "link-external" height:16 %}</a>'
|
||||
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**.
|
||||
|
||||

|
||||
|
||||
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 %}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
6
data/features/dependabot-rust-toolchain-support.yml
Normal file
6
data/features/dependabot-rust-toolchain-support.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
# Reference: #19113
|
||||
# Rust toolchain support for Dependabot
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghec: '*'
|
||||
ghes: '>= 3.20'
|
||||
@@ -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 <kbd>Return</kbd>.
|
||||
|
||||
{% 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.
|
||||
@@ -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.
|
||||
|
||||
@@ -102,7 +102,7 @@ function NavListItem({ childPage }: { childPage: ProductTreeNode }) {
|
||||
{childPage.sidebarLink.text}
|
||||
</NavList.Item>
|
||||
)}
|
||||
{specialCategory && (
|
||||
{specialCategory && !childPage.sidebarLink && (
|
||||
<NavList.Item href={childPage.href} as={Link} aria-current={isActive ? 'page' : false}>
|
||||
{childPage.title}
|
||||
</NavList.Item>
|
||||
|
||||
Reference in New Issue
Block a user