You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/copilot/how-tos/use-copilot-agents/cloud-agent/use-cloud-agent-on-github.md
+20-1Lines changed: 20 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -138,11 +138,30 @@ When an {% data variables.product.prodname_actions %} workflow run fails on a pu
138
138
139
139
## Continuing work on a pull request
140
140
141
+
You can ask {% data variables.product.prodname_copilot_short %} to make changes or address review comments on an existing pull request. You can then track the resulting session and provide follow-up instructions.
142
+
143
+
### Asking {% data variables.product.prodname_copilot_short %} to make changes
144
+
141
145
You can mention `@copilot` in a comment on any pull request to ask {% data variables.product.prodname_copilot_short %} to make changes. This works on pull requests created by {% data variables.product.prodname_copilot_short %} and on pull requests you or others created.
142
146
143
147
By default, {% data variables.product.prodname_copilot_short %} pushes commits directly to the pull request branch. To create a separate pull request instead, describe that in your comment. You can also check out the branch and push changes yourself.
144
148
145
-
Batch review comments instead of submitting them individually. When submitting a pull request comment (not a review or review comment) through the {% data variables.product.github %} web interface, select a model with the model picker. {% data variables.product.prodname_copilot_short %} uses the model from the original pull request by default.
149
+
When submitting a pull request comment (not a review or review comment) through the {% data variables.product.github %} web interface, select a model with the model picker. {% data variables.product.prodname_copilot_short %} uses the model from the original pull request by default.
150
+
151
+
### Delegating review comments
152
+
153
+
You can delegate review comments to have {% data variables.product.prodname_copilot_short %} implement feedback from human reviewers and {% data variables.copilot.copilot_code-review %}.
154
+
155
+
1. In the pull request, open the **Files changed** tab.
156
+
1. Navigate to the first review comment you want {% data variables.product.prodname_copilot_short %} to implement.
157
+
* To delegate one comment, click **Fix with {% data variables.product.prodname_copilot_short %}**.
158
+
* To delegate multiple comments, click **Add to batch**. Continue to add the comments you want {% data variables.product.prodname_copilot_short %} to work on.
159
+
1. In the **Manage batch** panel, add any additional instructions, and optionally select a model with the model picker.
160
+
1. Choose how you want {% data variables.product.prodname_copilot_short %} to apply the changes:
161
+
* To commit the changes directly to the branch, click **{% octicon "agent" aria-label="The Agents icon" %} Fix and commit**.
162
+
* To have {% data variables.product.prodname_copilot_short %} create a new pull request with the changes, click **Fix and open pull request** from the dropdown menu.
163
+
164
+
### Tracking and continuing a session
146
165
147
166
{% data reusables.copilot.cloud-agent.write-access-required %}
Copy file name to clipboardExpand all lines: content/pull-requests/how-tos/review-pull-requests/incorporating-feedback-in-your-pull-request.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,12 @@ Each person who suggested a change included in the commit will be a co-author of
40
40
1. In the commit message field, type a short, meaningful commit message that describes the change you made to the file or files.
41
41
1. Click **Commit changes**.
42
42
43
+
{% ifversion fpt or ghec %}
44
+
## Delegating review comments to {% data variables.product.prodname_copilot_short %}
45
+
46
+
If you have access to {% data variables.copilot.copilot_cloud_agent %}, you can delegate review comments to have {% data variables.product.prodname_copilot_short %} implement the feedback. For more information, see [AUTOTITLE](/copilot/how-tos/use-copilot-agents/cloud-agent/use-cloud-agent-on-github#delegating-review-comments).
47
+
{% endif %}
48
+
43
49
## Re-requesting a review
44
50
45
51
For example, you can re-request a review after you've made substantial changes to your pull request.
0 commit comments