| title | Using {% data variables.copilot.copilot_code-review %} on {% data variables.product.github %} | ||
|---|---|---|---|
| shortTitle | {% data variables.copilot.copilot_code-review_short %} | ||
| allowTitleToDifferFromFilename | true | ||
| intro | {% data variables.product.prodname_copilot %} reviews your pull requests and suggests ready-to-apply changes, so you get fast, actionable feedback on every commit. | ||
| versions |
|
||
| contentType | how-tos | ||
| category |
|
{% data variables.copilot.copilot_code-review_short %} is also available for organization members without a {% data variables.product.prodname_copilot_short %} license, when enabled by an enterprise administrator or organization owner. See {% data variables.copilot.copilot_code-review_short %} for organization members without a {% data variables.product.prodname_copilot_short %} license.
-
On {% data variables.product.prodname_dotcom_the_website %}, create or open a pull request.
-
Open the Reviewers menu, then select {% data variables.product.prodname_copilot_short %}.
-
Wait for {% data variables.product.prodname_copilot_short %} to finish reviewing. This usually takes less than 30 seconds.
-
Read through {% data variables.product.prodname_copilot_short %}'s comments on the pull request.
{% data variables.product.prodname_copilot_short %} always leaves a "Comment" review, not an "Approve" or "Request changes" review. Its reviews do not count toward required approvals and will not block merging.
{% data variables.product.prodname_copilot_short %}'s review comments work like comments from human reviewers. Add reactions, reply, resolve, or hide them. Any replies you add are visible to other people but not to {% data variables.product.prodname_copilot_short %}.
{% data variables.product.prodname_copilot_short %}'s feedback often includes suggested changes you can apply in a few clicks. Accept a single suggestion or group multiple suggestions into one commit. For more information, see AUTOTITLE.
To have {% data variables.copilot.copilot_cloud_agent %} implement suggested changes directly:
- Opt into the {% data variables.release-phases.public_preview %} for {% data variables.copilot.copilot_code-review-tools_short %} and enable {% data variables.copilot.copilot_cloud_agent %}.
- On a review comment from {% data variables.copilot.copilot_code-review %}, click Implement suggestion. This creates a draft comment where you instruct {% data variables.product.prodname_copilot_short %} to address specific feedback. {% data variables.product.prodname_copilot_short %} then creates a new pull request against your branch with the suggestions applied.
Rate {% data variables.product.prodname_copilot_short %}'s comments to help improve future suggestions.
-
On a review comment from {% data variables.product.prodname_copilot_short %}, click the thumbs up (:+1:) or thumbs down (:-1:) button.
-
If you click thumbs down, optionally pick a reason and leave a comment, then click Submit feedback.
{% data variables.product.prodname_copilot_short %} does not automatically re-review when you push new changes. To request a re-review, click the {% octicon "sync" aria-label="Re-request review" %} button next to {% data variables.product.prodname_copilot_short %}'s name in the Reviewers menu.
When re-reviewing, {% data variables.product.prodname_copilot_short %} may repeat previous comments, even if you resolved or downvoted them.
By default, you request reviews from {% data variables.product.prodname_copilot_short %} manually on each pull request. To enable automatic reviews for all pull requests, see AUTOTITLE.
{% data reusables.copilot.code-review.custom-instructions-information %}



