Rename CCA map topic (#55728)
This commit is contained in:
@@ -67,7 +67,7 @@ When {% data variables.product.prodname_copilot_short %} works on coding tasks,
|
||||
|
||||
When you use {% data variables.copilot.copilot_coding_agent %}, {% data variables.product.prodname_copilot_short %} may make multiple premium requests to complete a single task. This includes both user-initiated prompts and follow-up actions {% data variables.product.prodname_copilot_short %} takes on your behalf. The total premium requests used will depend on the complexity of the task and the number of steps involved. See [AUTOTITLE](/copilot/managing-copilot/managing-copilot-as-an-individual-subscriber/monitoring-usage-and-entitlements/avoiding-unexpected-copilot-costs).
|
||||
|
||||
For more information about {% data variables.copilot.copilot_coding_agent %}, see [AUTOTITLE](/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/about-assigning-tasks-to-copilot).
|
||||
For more information about {% data variables.copilot.copilot_coding_agent %}, see [AUTOTITLE](/copilot/using-github-copilot/coding-agent/about-assigning-tasks-to-copilot).
|
||||
|
||||
### What happens if you have used up your monthly quota?
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ A chat interface that lets you ask coding-related questions. {% data variables.p
|
||||
|
||||
### {% data variables.copilot.copilot_coding_agent %} ({% data variables.release-phases.public_preview %})
|
||||
|
||||
An autonomous AI agent that can make code changes for you. You can assign a {% data variables.product.github %} issue to {% data variables.product.prodname_copilot_short %} and the agent will work on making the required changes, and will create a pull request for you to review. You can also ask {% data variables.product.prodname_copilot_short %} to create a pull request from {% data variables.product.prodname_copilot_chat_short %}. See [AUTOTITLE](/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks).
|
||||
An autonomous AI agent that can make code changes for you. You can assign a {% data variables.product.github %} issue to {% data variables.product.prodname_copilot_short %} and the agent will work on making the required changes, and will create a pull request for you to review. You can also ask {% data variables.product.prodname_copilot_short %} to create a pull request from {% data variables.product.prodname_copilot_chat_short %}. See [AUTOTITLE](/copilot/using-github-copilot/coding-agent).
|
||||
|
||||
### {% data variables.product.prodname_copilot_cli_short %}
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ For an overview of the methods you can use to customize {% data variables.produc
|
||||
|
||||
{% data variables.product.prodname_copilot %} can provide chat responses that are tailored to the way your team works, the tools you use, or the specifics of your project, if you provide it with enough context to do so. Instead of repeatedly adding this contextual detail to your chat questions, you can create a file in your repository that automatically adds this information for you. The additional information is not displayed in the chat, but is available to {% data variables.product.prodname_copilot_short %} to allow it to generate higher quality responses.
|
||||
|
||||
The custom instructions file is also used by {% data variables.product.prodname_copilot_short %} when you assign it to an issue or ask it to create a pull request. Instructions included in this file can help {% data variables.product.prodname_copilot_short %} to work on files in a way that matches your team's working practices and conforms to coding standards for your project. See [AUTOTITLE](/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/about-assigning-tasks-to-copilot).
|
||||
The custom instructions file is also used by {% data variables.product.prodname_copilot_short %} when you assign it to an issue or ask it to create a pull request. Instructions included in this file can help {% data variables.product.prodname_copilot_short %} to work on files in a way that matches your team's working practices and conforms to coding standards for your project. See [AUTOTITLE](/copilot/using-github-copilot/coding-agent/about-assigning-tasks-to-copilot).
|
||||
|
||||
### Example
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ type: how_to
|
||||
> [!NOTE]
|
||||
> {% data reusables.copilot.coding-agent.preview-note-text %}
|
||||
>
|
||||
> For more information about {% data variables.copilot.copilot_coding_agent %}, see [AUTOTITLE](/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/about-assigning-tasks-to-copilot).
|
||||
> For more information about {% data variables.copilot.copilot_coding_agent %}, see [AUTOTITLE](/copilot/using-github-copilot/coding-agent/about-assigning-tasks-to-copilot).
|
||||
|
||||
## Overview
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ redirect_from:
|
||||
> [!NOTE]
|
||||
> {% data reusables.copilot.coding-agent.preview-note-text %}
|
||||
>
|
||||
> For more information about {% data variables.copilot.copilot_coding_agent %}, see [AUTOTITLE](/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/about-assigning-tasks-to-copilot).
|
||||
> For more information about {% data variables.copilot.copilot_coding_agent %}, see [AUTOTITLE](/copilot/using-github-copilot/coding-agent/about-assigning-tasks-to-copilot).
|
||||
|
||||
## About customizing {% data variables.copilot.copilot_coding_agent %}'s development environment
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ redirect_from:
|
||||
> [!NOTE]
|
||||
> {% data reusables.copilot.coding-agent.preview-note-text %}
|
||||
>
|
||||
> For more information about {% data variables.copilot.copilot_coding_agent %}, see [AUTOTITLE](/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/about-assigning-tasks-to-copilot).
|
||||
> For more information about {% data variables.copilot.copilot_coding_agent %}, see [AUTOTITLE](/copilot/using-github-copilot/coding-agent/about-assigning-tasks-to-copilot).
|
||||
|
||||
{% data reusables.copilot.coding-agent.mcp-brief-intro %}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ featuredLinks:
|
||||
- /copilot/about-github-copilot/what-is-github-copilot
|
||||
- /copilot/quickstart
|
||||
- /copilot/building-copilot-extensions/quickstart-for-github-copilot-extensions-using-agents
|
||||
- /copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/about-assigning-tasks-to-copilot
|
||||
- /copilot/using-github-copilot/coding-agent/about-assigning-tasks-to-copilot
|
||||
popular:
|
||||
- /copilot/about-github-copilot/github-copilot-features
|
||||
- /copilot/copilot-chat-cookbook
|
||||
|
||||
@@ -33,7 +33,7 @@ Some {% data variables.product.prodname_copilot_short %} features use more advan
|
||||
The following {% data variables.product.prodname_copilot_short %} features can use premium requests:
|
||||
|
||||
* [{% data variables.product.prodname_copilot_chat_short %}](/copilot/using-github-copilot/copilot-chat)
|
||||
* [{% data variables.copilot.copilot_coding_agent %}](/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/about-assigning-tasks-to-copilot) [^1]
|
||||
* [{% data variables.copilot.copilot_coding_agent %}](/copilot/using-github-copilot/coding-agent/about-assigning-tasks-to-copilot) [^1]
|
||||
* [{% data variables.product.prodname_copilot_agent_short %} mode](/copilot/using-github-copilot/copilot-chat/asking-github-copilot-questions-in-your-ide#copilot-edits)
|
||||
* [{% data variables.product.prodname_copilot_short %} code review](/copilot/using-github-copilot/code-review/using-copilot-code-review)
|
||||
* [{% data variables.product.prodname_copilot_extensions_short %}](/copilot/building-copilot-extensions/about-building-copilot-extensions)
|
||||
|
||||
@@ -73,7 +73,7 @@ For more information about limitations, see [Limitations of {% data variables.co
|
||||
|
||||
### Customize your experience with additional context
|
||||
|
||||
{% data variables.copilot.copilot_coding_agent %} leverages your prompt, comments and the repository’s code as context when generating suggested changes. To enhance Copilot’s performance, consider implementing custom Copilot instructions to help the agent better understand your project and how to build, test and validate its changes. For more information, see the "Add custom instructions to your repository" in [AUTOTITLE](/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/best-practices-for-using-copilot-to-work-on-tasks#adding-custom-instructions-to-your-repository).
|
||||
{% data variables.copilot.copilot_coding_agent %} leverages your prompt, comments and the repository’s code as context when generating suggested changes. To enhance Copilot’s performance, consider implementing custom Copilot instructions to help the agent better understand your project and how to build, test and validate its changes. For more information, see the "Add custom instructions to your repository" in [AUTOTITLE](/copilot/using-github-copilot/coding-agent/best-practices-for-using-copilot-to-work-on-tasks#adding-custom-instructions-to-your-repository).
|
||||
|
||||
For information about other customizations for {% data variables.copilot.copilot_coding_agent %}, see:
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ product: '{% data reusables.gated-features.copilot-coding-agent %}'
|
||||
|
||||
## How {% data variables.copilot.copilot_coding_agent %} can contribute to your organization
|
||||
|
||||
{% data variables.product.prodname_copilot_short %} can help your organization address well-defined and scoped issues, such as increasing test coverage, fixing bugs or flaky tests, or updating config files or documentation. For more on the kinds of issues {% data variables.product.prodname_copilot_short %} works best on, see [AUTOTITLE](/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/best-practices-for-using-copilot-to-work-on-tasks).
|
||||
{% data variables.product.prodname_copilot_short %} can help your organization address well-defined and scoped issues, such as increasing test coverage, fixing bugs or flaky tests, or updating config files or documentation. For more on the kinds of issues {% data variables.product.prodname_copilot_short %} works best on, see [AUTOTITLE](/copilot/using-github-copilot/coding-agent/best-practices-for-using-copilot-to-work-on-tasks).
|
||||
|
||||
Developers stay in the flow when they ask {% data variables.product.prodname_copilot_short %} to create pull requests directly from {% data variables.product.prodname_copilot_chat_short %} instead of opening issues that may sit in a backlog.
|
||||
|
||||
@@ -93,7 +93,7 @@ As with any other change to working practices, it's important to run a trial to
|
||||
1. Choose an isolated or low-risk repository, for example, one that contains documentation or internal tools. You could create a fresh repository to use as a playground, but {% data variables.product.prodname_copilot_short %} needs context to be successful, so you would need to add a lot of context, including team processes, development environment, and common dependencies.
|
||||
1. Enable {% data variables.copilot.copilot_coding_agent %} in the repository and optionally enable third-party MCP servers for enhanced context sharing. See [AUTOTITLE](/copilot/managing-copilot/managing-github-copilot-in-your-organization/adding-copilot-coding-agent-to-organization).
|
||||
1. Create repository instructions and pre-install any tools required in the development environment {% data variables.product.prodname_copilot_short %} uses. See [AUTOTITLE](/copilot/customizing-copilot/customizing-the-development-environment-for-copilot-coding-agent).
|
||||
1. Identify a few compelling use cases for your organization, for example: test coverage or improving accessibility. See [Choose the right type of tasks to give to Copilot](/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/best-practices-for-using-copilot-to-work-on-tasks#choosing-the-right-type-of-tasks-to-give-to-copilot) in the best practice guide.
|
||||
1. Identify a few compelling use cases for your organization, for example: test coverage or improving accessibility. See [Choose the right type of tasks to give to Copilot](/copilot/using-github-copilot/coding-agent/best-practices-for-using-copilot-to-work-on-tasks#choosing-the-right-type-of-tasks-to-give-to-copilot) in the best practice guide.
|
||||
1. Use best practice to create or refine issues for {% data variables.product.prodname_copilot_short %} in your pilot repository.
|
||||
1. Assign issues to {% data variables.product.prodname_copilot_short %} and prepare team members to review its work.
|
||||
1. Spend time looking at the codebase or documentation in {% data variables.product.prodname_vscode_shortname %} or {% data variables.product.prodname_dotcom_the_website %}, asking {% data variables.product.prodname_copilot_short %} to create a pull request to fix any bugs or small improvements that you identify.
|
||||
|
||||
@@ -8,6 +8,7 @@ topics:
|
||||
- Copilot
|
||||
type: overview
|
||||
redirect_from:
|
||||
- /copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/about-assigning-tasks-to-copilot
|
||||
- /copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-issues/about-assigning-issues-to-copilot
|
||||
- /copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-issues/about-assigning-tasks-to-copilot
|
||||
---
|
||||
@@ -47,7 +48,7 @@ Having {% data variables.product.prodname_copilot_short %} as an additional codi
|
||||
|
||||
### Making {% data variables.copilot.copilot_coding_agent %} available
|
||||
|
||||
Before you can assign tasks to {% data variables.product.prodname_copilot_short %}, it must be enabled. See [AUTOTITLE](/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/enabling-copilot-coding-agent).
|
||||
Before you can assign tasks to {% data variables.product.prodname_copilot_short %}, it must be enabled. See [AUTOTITLE](/copilot/using-github-copilot/coding-agent/enabling-copilot-coding-agent).
|
||||
|
||||
## {% data variables.copilot.copilot_coding_agent %} usage costs
|
||||
|
||||
@@ -70,7 +71,7 @@ To mitigate this risk, {% data variables.product.github %}:
|
||||
* **Limits who can assign tasks to {% data variables.product.prodname_copilot_short %}.** Only users with write access to the repository can trigger {% data variables.product.prodname_copilot_short %} to work. Comments from users without write access are never presented to the agent.
|
||||
* **Limits the permissions in access tokens used by Copilot.** Pushes are only allowed to branches beginning with `copilot/`. {% data variables.product.prodname_copilot_short %} cannot push to the `main` or `master` branches.
|
||||
* **Limits {% data variables.product.prodname_copilot_short %}'s credentials.** {% data variables.product.prodname_copilot_short %} can only perform simple push operations. It cannot directly run `git push` or other Git commands.
|
||||
* **Restricts {% data variables.product.prodname_actions %} workflow runs.** Workflows are not triggered until {% data variables.product.prodname_copilot_short %}'s code is reviewed and a user with write access to the repo clicks the **Approve and run workflows** button. See [AUTOTITLE](/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/using-copilot-to-work-on-an-issue#allowing-github-actions-workflows-to-run-when-copilot-pushes-changes).
|
||||
* **Restricts {% data variables.product.prodname_actions %} workflow runs.** Workflows are not triggered until {% data variables.product.prodname_copilot_short %}'s code is reviewed and a user with write access to the repo clicks the **Approve and run workflows** button. See [AUTOTITLE](/copilot/using-github-copilot/coding-agent/using-copilot-to-work-on-an-issue#allowing-github-actions-workflows-to-run-when-copilot-pushes-changes).
|
||||
* **Prevents the user who asked {% data variables.product.prodname_copilot_short %} to create a pull request from approving it.** This maintains the expected controls in the "Required reviews" rule and branch protection. See [AUTOTITLE](/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/available-rules-for-rulesets).
|
||||
|
||||
### Risk: {% data variables.product.prodname_copilot_short %} has access to sensitive information
|
||||
@@ -105,7 +106,7 @@ Users can include hidden messages in issues assigned to {% data variables.produc
|
||||
|
||||
## Further reading
|
||||
|
||||
* [AUTOTITLE](/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks)
|
||||
* [AUTOTITLE](/copilot/using-github-copilot/coding-agent)
|
||||
* [AUTOTITLE](/copilot/responsible-use-of-github-copilot-features/responsible-use-of-copilot-coding-agent-on-githubcom)
|
||||
* [AUTOTITLE](/copilot/customizing-copilot/customizing-the-development-environment-for-copilot-coding-agent)
|
||||
* [AUTOTITLE](/copilot/customizing-copilot/customizing-or-disabling-the-firewall-for-copilot-coding-agent)
|
||||
@@ -9,6 +9,7 @@ topics:
|
||||
- Copilot
|
||||
type: how_to
|
||||
redirect_from:
|
||||
- /copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/asking-copilot-to-create-a-pull-request
|
||||
- /copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-issues/asking-copilot-to-create-a-pull-request
|
||||
---
|
||||
|
||||
@@ -22,7 +23,7 @@ Often, when you are working on a project, you might notice a change you want to
|
||||
|
||||
Instead—if {% data variables.copilot.copilot_coding_agent %} is available—you can ask {% data variables.product.prodname_copilot_short %} to make the change for you. {% data variables.product.prodname_copilot_short %} will start working on the change in the background and, when it's done, request you to review the pull request it raises.
|
||||
|
||||
For information on making {% data variables.copilot.copilot_coding_agent %} available, see [AUTOTITLE](/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/enabling-copilot-coding-agent).
|
||||
For information on making {% data variables.copilot.copilot_coding_agent %} available, see [AUTOTITLE](/copilot/using-github-copilot/coding-agent/enabling-copilot-coding-agent).
|
||||
|
||||
## Creating a pull request from {% data variables.product.prodname_copilot_chat_short %}
|
||||
|
||||
@@ -43,12 +44,12 @@ For information on making {% data variables.copilot.copilot_coding_agent %} avai
|
||||
|
||||
## Monitoring progress
|
||||
|
||||
You can see what {% data variables.product.prodname_copilot_short %} is doing while it is working on a task by viewing the session logs. See [AUTOTITLE](/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/using-the-copilot-coding-agent-logs).
|
||||
You can see what {% data variables.product.prodname_copilot_short %} is doing while it is working on a task by viewing the session logs. See [AUTOTITLE](/copilot/using-github-copilot/coding-agent/using-the-copilot-coding-agent-logs).
|
||||
|
||||
You can also stop {% data variables.product.prodname_copilot_short %} from working on a task by clicking **Stop session** in the session logs.
|
||||
|
||||
## Further reading
|
||||
|
||||
* [AUTOTITLE](/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/about-assigning-tasks-to-copilot)
|
||||
* [AUTOTITLE](/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/best-practices-for-using-copilot-to-work-on-tasks)
|
||||
* [AUTOTITLE](/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/troubleshooting-copilot-coding-agent#copilot-cant-create-a-pull-request-from-copilot-chat)
|
||||
* [AUTOTITLE](/copilot/using-github-copilot/coding-agent/about-assigning-tasks-to-copilot)
|
||||
* [AUTOTITLE](/copilot/using-github-copilot/coding-agent/best-practices-for-using-copilot-to-work-on-tasks)
|
||||
* [AUTOTITLE](/copilot/using-github-copilot/coding-agent/troubleshooting-copilot-coding-agent#copilot-cant-create-a-pull-request-from-copilot-chat)
|
||||
@@ -9,6 +9,7 @@ topics:
|
||||
- Copilot
|
||||
type: reference
|
||||
redirect_from:
|
||||
- /copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/best-practices-for-using-copilot-to-work-on-tasks
|
||||
- /copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-issues/best-practices-for-using-copilot-to-work-on-issues
|
||||
- /copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-issues/best-practices-for-using-copilot-to-work-on-tasks
|
||||
- /early-access/copilot/coding-agent/best-practices-for-using-copilot-coding-agent
|
||||
@@ -8,6 +8,7 @@ topics:
|
||||
- Copilot
|
||||
type: how_to
|
||||
redirect_from:
|
||||
- /copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/enabling-copilot-coding-agent
|
||||
- /copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-issues/enabling-copilot-coding-agent-for-your-personal-repositories
|
||||
- /copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/enabling-copilot-coding-agent-for-your-personal-repositories
|
||||
---
|
||||
@@ -30,7 +31,7 @@ If you want {% data variables.copilot.copilot_coding_agent %} to be available in
|
||||
|
||||
## Further reading
|
||||
|
||||
* [AUTOTITLE](/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks)
|
||||
* [AUTOTITLE](/copilot/using-github-copilot/coding-agent)
|
||||
* [AUTOTITLE](/copilot/customizing-copilot/customizing-the-development-environment-for-copilot-coding-agent)
|
||||
* [AUTOTITLE](/copilot/customizing-copilot/customizing-or-disabling-the-firewall-for-copilot-coding-agent)
|
||||
* [AUTOTITLE](/copilot/customizing-copilot/extending-copilot-coding-agent-with-mcp)
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: Using Copilot to work on tasks
|
||||
title: Coding agent
|
||||
intro: 'Find out how {% data variables.product.prodname_copilot_short %} can work on {% data variables.product.github %} issues and raise pull requests for your to review.'
|
||||
versions:
|
||||
feature: copilot
|
||||
@@ -15,6 +15,7 @@ children:
|
||||
- /using-the-copilot-coding-agent-logs
|
||||
- /troubleshooting-copilot-coding-agent
|
||||
redirect_from:
|
||||
- /copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks
|
||||
- /copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-issues
|
||||
- /early-access/copilot/coding-agent
|
||||
---
|
||||
@@ -8,6 +8,8 @@ versions:
|
||||
topics:
|
||||
- Copilot
|
||||
type: how_to
|
||||
redirect_from:
|
||||
- /copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/reviewing-a-pull-request-created-by-copilot
|
||||
---
|
||||
|
||||
{% data reusables.copilot.coding-agent.preview-note %}
|
||||
@@ -37,7 +39,7 @@ If {% data variables.product.prodname_copilot_short %} starts a new agent sessio
|
||||
> [!TIP]
|
||||
> If you don't want {% data variables.product.prodname_copilot_short %} to respond to comments on a pull request, you can unassign {% data variables.product.prodname_copilot_short %} from the pull request. If you later reassign {% data variables.product.prodname_copilot_short %} to the same pull request it will respond to new comments and push more changes. It will not respond to comment that were added while it was not assigned.
|
||||
|
||||
For more information, see the section "Use comments to iterate on a pull request" in [AUTOTITLE](/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/best-practices-for-using-copilot-to-work-on-tasks#using-comments-to-iterate-on-a-pull-request).
|
||||
For more information, see the section "Use comments to iterate on a pull request" in [AUTOTITLE](/copilot/using-github-copilot/coding-agent/best-practices-for-using-copilot-to-work-on-tasks#using-comments-to-iterate-on-a-pull-request).
|
||||
|
||||
## Managing {% data variables.product.prodname_actions %} workflow runs
|
||||
|
||||
@@ -58,6 +60,6 @@ You can provide feedback on {% data variables.product.prodname_copilot_short %}'
|
||||
|
||||
## Further reading
|
||||
|
||||
* [AUTOTITLE](/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/best-practices-for-using-copilot-to-work-on-tasks)
|
||||
* [AUTOTITLE](/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/using-the-copilot-coding-agent-logs)
|
||||
* [AUTOTITLE](/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/troubleshooting-copilot-coding-agent)
|
||||
* [AUTOTITLE](/copilot/using-github-copilot/coding-agent/best-practices-for-using-copilot-to-work-on-tasks)
|
||||
* [AUTOTITLE](/copilot/using-github-copilot/coding-agent/using-the-copilot-coding-agent-logs)
|
||||
* [AUTOTITLE](/copilot/using-github-copilot/coding-agent/troubleshooting-copilot-coding-agent)
|
||||
@@ -9,6 +9,7 @@ topics:
|
||||
- Copilot
|
||||
type: reference
|
||||
redirect_from:
|
||||
- /copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/troubleshooting-copilot-coding-agent
|
||||
- /copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-issues/troubleshooting-copilot-coding-agent
|
||||
- /early-access/copilot/coding-agent/troubleshooting-copilot-coding-agent
|
||||
---
|
||||
@@ -74,13 +75,13 @@ If {% data variables.product.prodname_copilot_short %} got stuck while respondin
|
||||
|
||||
{% data variables.product.prodname_actions %} workflows will not run automatically when {% data variables.product.prodname_copilot_short %} pushes changes to a pull request.
|
||||
|
||||
To allow {% data variables.product.prodname_actions %} workflows to run, click the **Approve and run workflows** button in the pull request's merge box. See [AUTOTITLE](/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/using-copilot-to-work-on-an-issue#allowing-github-actions-workflows-to-run-when-copilot-pushes-changes).
|
||||
To allow {% data variables.product.prodname_actions %} workflows to run, click the **Approve and run workflows** button in the pull request's merge box. See [AUTOTITLE](/copilot/using-github-copilot/coding-agent/using-copilot-to-work-on-an-issue#allowing-github-actions-workflows-to-run-when-copilot-pushes-changes).
|
||||
|
||||
## {% data variables.product.prodname_copilot_short %} is pushing changes which don't pass my CI checks
|
||||
|
||||
While working on an issue, {% data variables.product.prodname_copilot_short %} has access to its own ephemeral development environment, powered by {% data variables.product.prodname_actions %}, where it can execute automated tests and linters to validate its work before it pushes.
|
||||
|
||||
It is most likely to do this if given clear instructions on what to do. The best way to do this is with a `.github/copilot-instructions.md` file. See [AUTOTITLE](/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/best-practices-for-using-copilot-to-work-on-tasks#adding-custom-instructions-to-your-repository).
|
||||
It is most likely to do this if given clear instructions on what to do. The best way to do this is with a `.github/copilot-instructions.md` file. See [AUTOTITLE](/copilot/using-github-copilot/coding-agent/best-practices-for-using-copilot-to-work-on-tasks#adding-custom-instructions-to-your-repository).
|
||||
|
||||
## There is a warning from {% data variables.product.prodname_copilot %} about the firewall
|
||||
|
||||
@@ -96,5 +97,5 @@ For more information, see [AUTOTITLE](/copilot/customizing-copilot/customizing-o
|
||||
|
||||
## Further reading
|
||||
|
||||
* [AUTOTITLE](/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/best-practices-for-using-copilot-to-work-on-tasks)
|
||||
* [AUTOTITLE](/copilot/using-github-copilot/coding-agent/best-practices-for-using-copilot-to-work-on-tasks)
|
||||
* [AUTOTITLE](/copilot/customizing-copilot/customizing-the-development-environment-for-copilot-coding-agent)
|
||||
@@ -8,6 +8,7 @@ topics:
|
||||
- Copilot
|
||||
type: how_to
|
||||
redirect_from:
|
||||
- /copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/using-copilot-to-work-on-an-issue
|
||||
- /copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-issues/using-copilot-to-work-on-an-issue
|
||||
- /early-access/copilot/coding-agent/using-copilot-coding-agent
|
||||
---
|
||||
@@ -16,9 +17,9 @@ redirect_from:
|
||||
|
||||
## Introduction
|
||||
|
||||
You can assign a {% data variables.product.github %} issue to {% data variables.product.prodname_copilot_short %}, just like you would with a human software developer. {% data variables.product.prodname_copilot_short %} will start working on the issue, raise a pull request and when it's finished working, request a review from you. For more information, see [AUTOTITLE](/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/about-assigning-tasks-to-copilot).
|
||||
You can assign a {% data variables.product.github %} issue to {% data variables.product.prodname_copilot_short %}, just like you would with a human software developer. {% data variables.product.prodname_copilot_short %} will start working on the issue, raise a pull request and when it's finished working, request a review from you. For more information, see [AUTOTITLE](/copilot/using-github-copilot/coding-agent/about-assigning-tasks-to-copilot).
|
||||
|
||||
If you haven't used {% data variables.product.prodname_copilot_short %} to work on an issue before, you can find some useful advice for getting good results in [AUTOTITLE](/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/best-practices-for-using-copilot-to-work-on-tasks).
|
||||
If you haven't used {% data variables.product.prodname_copilot_short %} to work on an issue before, you can find some useful advice for getting good results in [AUTOTITLE](/copilot/using-github-copilot/coding-agent/best-practices-for-using-copilot-to-work-on-tasks).
|
||||
|
||||
## Assigning an issue to {% data variables.product.prodname_copilot_short %}
|
||||
|
||||
@@ -132,7 +133,7 @@ A few seconds later, {% data variables.product.prodname_copilot_short %} will op
|
||||
|
||||

|
||||
|
||||
If you want to check what {% data variables.product.prodname_copilot_short %} is doing, click **View session**. The session log viewer is displayed, showing you a live log as {% data variables.product.prodname_copilot_short %} works on the issue. If you want to stop {% data variables.product.prodname_copilot_short %} from working on the issue, click **Stop session**. See [AUTOTITLE](/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/using-the-copilot-coding-agent-logs).
|
||||
If you want to check what {% data variables.product.prodname_copilot_short %} is doing, click **View session**. The session log viewer is displayed, showing you a live log as {% data variables.product.prodname_copilot_short %} works on the issue. If you want to stop {% data variables.product.prodname_copilot_short %} from working on the issue, click **Stop session**. See [AUTOTITLE](/copilot/using-github-copilot/coding-agent/using-the-copilot-coding-agent-logs).
|
||||
|
||||
Once {% data variables.product.prodname_copilot_short %} has finished, the agent session will end, and {% data variables.product.prodname_copilot_short %} will request a review from you, triggering a notification. In addition, a "{% data variables.product.prodname_copilot_short %} finished work" event will appear in the pull request timeline.
|
||||
|
||||
@@ -140,9 +141,9 @@ Once {% data variables.product.prodname_copilot_short %} has finished, the agent
|
||||
|
||||
## Working with {% data variables.product.prodname_copilot_short %} on a pull request
|
||||
|
||||
After {% data variables.product.prodname_copilot_short %} has finished working on the issue, you should review the pull request thoroughly and comment on anything that needs changed. See [AUTOTITLE](/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/reviewing-a-pull-request-created-by-copilot).
|
||||
After {% data variables.product.prodname_copilot_short %} has finished working on the issue, you should review the pull request thoroughly and comment on anything that needs changed. See [AUTOTITLE](/copilot/using-github-copilot/coding-agent/reviewing-a-pull-request-created-by-copilot).
|
||||
|
||||
## Further reading
|
||||
|
||||
* [AUTOTITLE](/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/best-practices-for-using-copilot-to-work-on-tasks)
|
||||
* [AUTOTITLE](/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/troubleshooting-copilot-coding-agent)
|
||||
* [AUTOTITLE](/copilot/using-github-copilot/coding-agent/best-practices-for-using-copilot-to-work-on-tasks)
|
||||
* [AUTOTITLE](/copilot/using-github-copilot/coding-agent/troubleshooting-copilot-coding-agent)
|
||||
@@ -8,13 +8,15 @@ versions:
|
||||
topics:
|
||||
- Copilot
|
||||
type: how_to
|
||||
redirect_from:
|
||||
- /copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/using-the-copilot-coding-agent-logs
|
||||
---
|
||||
|
||||
{% data reusables.copilot.coding-agent.preview-note %}
|
||||
|
||||
## Introduction
|
||||
|
||||
After you assign an issue to {% data variables.product.prodname_copilot_short %}, or use {% data variables.product.prodname_copilot_chat_short %} to ask {% data variables.product.prodname_copilot_short %} to create a pull request, {% data variables.product.prodname_copilot_short %} works autonomously to complete the task. See [AUTOTITLE](/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/about-assigning-tasks-to-copilot).
|
||||
After you assign an issue to {% data variables.product.prodname_copilot_short %}, or use {% data variables.product.prodname_copilot_chat_short %} to ask {% data variables.product.prodname_copilot_short %} to create a pull request, {% data variables.product.prodname_copilot_short %} works autonomously to complete the task. See [AUTOTITLE](/copilot/using-github-copilot/coding-agent/about-assigning-tasks-to-copilot).
|
||||
|
||||
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.
|
||||
|
||||
@@ -43,5 +45,5 @@ Reasons you might want to stop a session include:
|
||||
|
||||
## Further reading
|
||||
|
||||
* [AUTOTITLE](/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/best-practices-for-using-copilot-to-work-on-tasks)
|
||||
* [AUTOTITLE](/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/troubleshooting-copilot-coding-agent)
|
||||
* [AUTOTITLE](/copilot/using-github-copilot/coding-agent/best-practices-for-using-copilot-to-work-on-tasks)
|
||||
* [AUTOTITLE](/copilot/using-github-copilot/coding-agent/troubleshooting-copilot-coding-agent)
|
||||
@@ -10,7 +10,7 @@ children:
|
||||
- /best-practices-for-using-github-copilot
|
||||
- /getting-code-suggestions-in-your-ide-with-github-copilot
|
||||
- /copilot-chat
|
||||
- /using-copilot-coding-agent-to-work-on-tasks
|
||||
- /coding-agent
|
||||
- /asking-github-copilot-questions-in-windows-terminal
|
||||
- /using-copilot-text-completion
|
||||
- /code-review
|
||||
|
||||
@@ -63,7 +63,7 @@ Each draft appears separately, and you can review and edit them individually. To
|
||||
|
||||
## Assigning issues to {% data variables.product.prodname_copilot_short %}
|
||||
|
||||
To assign an issue to {% data variables.product.prodname_copilot_short %}, you need to have {% data variables.copilot.copilot_coding_agent %} enabled. See [AUTOTITLE](/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/enabling-copilot-coding-agent).
|
||||
To assign an issue to {% data variables.product.prodname_copilot_short %}, you need to have {% data variables.copilot.copilot_coding_agent %} enabled. See [AUTOTITLE](/copilot/using-github-copilot/coding-agent/enabling-copilot-coding-agent).
|
||||
|
||||
You can assign the issue during creation in one of two ways:
|
||||
|
||||
|
||||
@@ -110,7 +110,7 @@ childGroups:
|
||||
- copilot/using-github-copilot/copilot-chat/prompt-engineering-for-copilot-chat
|
||||
- copilot/using-github-copilot/copilot-chat/asking-github-copilot-questions-in-github
|
||||
- copilot/copilot-chat-cookbook
|
||||
- copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks
|
||||
- copilot/using-github-copilot/coding-agent
|
||||
- name: CI/CD and DevOps
|
||||
octicon: GearIcon
|
||||
children:
|
||||
|
||||
@@ -23,7 +23,7 @@ You can assign multiple people to each issue or pull request, including: yoursel
|
||||
|
||||
{% ifversion copilot %}
|
||||
|
||||
You may also be able to assign {% data variables.product.prodname_copilot_short %} to an issue, see [AUTOTITLE](/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/using-copilot-to-work-on-an-issue).
|
||||
You may also be able to assign {% data variables.product.prodname_copilot_short %} to an issue, see [AUTOTITLE](/copilot/using-github-copilot/coding-agent/using-copilot-to-work-on-an-issue).
|
||||
|
||||
{% endif %}
|
||||
|
||||
@@ -53,7 +53,7 @@ Issues and pull requests in public repositories, and in private repositories for
|
||||
|
||||
## Assigning an issue to {% data variables.product.prodname_copilot_short %}
|
||||
|
||||
If you assign an issue to {% data variables.product.prodname_copilot_short %}, {% data variables.product.prodname_copilot_short %} will work autonomously on the issue, creating a pull request and, when it has finished, requesting that you review the pull request. See [AUTOTITLE](/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/about-assigning-tasks-to-copilot).
|
||||
If you assign an issue to {% data variables.product.prodname_copilot_short %}, {% data variables.product.prodname_copilot_short %} will work autonomously on the issue, creating a pull request and, when it has finished, requesting that you review the pull request. See [AUTOTITLE](/copilot/using-github-copilot/coding-agent/about-assigning-tasks-to-copilot).
|
||||
|
||||
{% endif %}
|
||||
|
||||
|
||||
@@ -60,4 +60,4 @@ You can view all of the reviews a pull request has received in the Conversation
|
||||
* [AUTOTITLE](/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/viewing-a-pull-request-review)
|
||||
* [AUTOTITLE](/communities/setting-up-your-project-for-healthy-contributions/setting-guidelines-for-repository-contributors){% ifversion copilot %}
|
||||
* [AUTOTITLE](/copilot/using-github-copilot/code-review/using-copilot-code-review)
|
||||
* [AUTOTITLE](/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/using-copilot-to-work-on-an-issue){% endif %}
|
||||
* [AUTOTITLE](/copilot/using-github-copilot/coding-agent/using-copilot-to-work-on-an-issue){% endif %}
|
||||
|
||||
@@ -52,7 +52,7 @@ To reply to an existing line or file comment, you'll need to navigate to the com
|
||||
|
||||
When you have finished, click **Finish your review** at the top right of the page, leave a summary of your review, and click **Submit review**.
|
||||
|
||||
Anyone watching the pull request or repository will receive a notification of your comments. Batching your comments avoids multiple notifications being sent. {% ifversion copilot %}If you are commenting on a pull request created by {% data variables.product.prodname_copilot_short %}, batching your comments prevents {% data variables.product.prodname_copilot_short %} from starting to work on individual comments before you have completed your review. See [AUTOTITLE](/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/using-copilot-to-work-on-an-issue).{% endif %}
|
||||
Anyone watching the pull request or repository will receive a notification of your comments. Batching your comments avoids multiple notifications being sent. {% ifversion copilot %}If you are commenting on a pull request created by {% data variables.product.prodname_copilot_short %}, batching your comments prevents {% data variables.product.prodname_copilot_short %} from starting to work on individual comments before you have completed your review. See [AUTOTITLE](/copilot/using-github-copilot/coding-agent/using-copilot-to-work-on-an-issue).{% endif %}
|
||||
|
||||
{% data reusables.pull_requests.resolving-conversations %}
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ You can review changes in a pull request one file at a time. While reviewing the
|
||||
|
||||
{% ifversion copilot %}
|
||||
|
||||
If the pull request was raised by {% data variables.product.prodname_copilot %} then, when you submit your comments, {% data variables.product.prodname_copilot_short %} will carry out more work to respond to your comments and will push a new commit to the pull request with further changes. See [AUTOTITLE](/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/about-assigning-tasks-to-copilot).
|
||||
If the pull request was raised by {% data variables.product.prodname_copilot %} then, when you submit your comments, {% data variables.product.prodname_copilot_short %} will carry out more work to respond to your comments and will push a new commit to the pull request with further changes. See [AUTOTITLE](/copilot/using-github-copilot/coding-agent/about-assigning-tasks-to-copilot).
|
||||
|
||||
{% endif %}
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
For information on making {% data variables.copilot.copilot_coding_agent %} available, see [AUTOTITLE](/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/enabling-copilot-coding-agent).
|
||||
For information on making {% data variables.copilot.copilot_coding_agent %} available, see [AUTOTITLE](/copilot/using-github-copilot/coding-agent/enabling-copilot-coding-agent).
|
||||
|
||||
Reference in New Issue
Block a user