Skip to content

Commit 322f12a

Browse files
authored
Copilot code review article: clarify info on dotcom tab (#55326)
1 parent 4c0e65b commit 322f12a

File tree

2 files changed

+49
-16
lines changed

2 files changed

+49
-16
lines changed

content/copilot/using-github-copilot/code-review/configuring-automatic-code-review-by-copilot.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ After you configure automatic code review, {% data variables.product.prodname_co
2727
2828
### Limits on automatic pull request reviews
2929

30-
{% data variables.copilot.copilot_code-review_short %} is a premium feature with a per-person monthly quota. When {% data variables.product.prodname_copilot_short %} carries out an automatic review, it uses one premium request from the quota of the user who created the pull request. For more information, see [AUTOTITLE](/copilot/using-github-copilot/code-review/using-copilot-code-review#maximum-code-reviews-per-month).
30+
{% data variables.copilot.copilot_code-review_short %} is a premium feature with a per-person monthly quota. When {% data variables.product.prodname_copilot_short %} carries out an automatic review, it uses one premium request from the quota of the user who created the pull request. For more information, see [AUTOTITLE](/copilot/using-github-copilot/code-review/using-copilot-code-review#code-review-monthly-quota).
3131

3232
## Configuring automatic code review for a single repository
3333

content/copilot/using-github-copilot/code-review/using-copilot-code-review.md

Lines changed: 48 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ title: Using GitHub Copilot code review
33
shortTitle: Using code review
44
intro: "Learn how to request a code review from {% data variables.product.prodname_copilot %}."
55
allowTitleToDifferFromFilename: true
6-
product: 'See the table below.'
76
versions:
87
feature: copilot
98
topics:
@@ -18,30 +17,45 @@ redirect_from:
1817

1918
{% data variables.product.prodname_copilot %} can review your code and provide feedback. Where possible, {% data variables.product.prodname_copilot_short %}'s feedback includes suggested changes which you can apply with a couple of clicks.
2019

21-
{% data variables.copilot.copilot_code-review_short %} supports two types of review:
20+
{% vscode %}
21+
22+
{% data variables.copilot.copilot_code-review_short %} in {% data variables.product.prodname_vscode %} supports two types of review:
2223

23-
* **Review selection:** Highlight code and ask for an initial review _({% data variables.product.prodname_vscode %} only)_
24-
* **Review changes:** Request a deeper review of all your changes _({% data variables.product.github %} website and {% data variables.product.prodname_vscode %})_
24+
* **Review selection:** Highlight code and ask for an initial review
25+
* **Review changes:** Request a deeper review of all your changes
2526

2627
The current functionality and availability of the two types of review is summarized in the following table:
2728

2829
{% rowheaders %}
2930

30-
| Feature | Review selection | Review changes |
31-
|----------------------------------|---------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
32-
| Environment | {% data variables.product.prodname_vscode %} | {% data variables.product.prodname_vscode %} and the {% data variables.product.github %} website |
33-
| Description | Initial review of a highlighted section of code with feedback and suggestions | Deeper review of all changes |
34-
| Language support | All | C#, Go, Java, JavaScript, Markdown, Python, Ruby, TypeScript <br><br> {% data variables.release-phases.public_preview_caps %} support for C, C++, Kotlin, and Swift. |
35-
| Custom coding guidelines support | No | Yes, see [Customizing {% data variables.product.prodname_copilot_short %}'s reviews with coding guidelines](#customizing-copilots-reviews-with-coding-guidelines) |
36-
| Availability | Standard feature available to all {% data variables.product.prodname_copilot_short %} subscribers | Premium feature. Available with {% data variables.product.prodname_copilot_pro_short %}, {% data variables.product.prodname_copilot_pro_plus_short %}, {% data variables.product.prodname_copilot_business_short %}, and {% data variables.product.prodname_copilot_enterprise_short %} subscriptions. Per-person monthly quota. |
31+
| | Review selection | Review changes |
32+
|------------------|------------------|----------------|
33+
| Available in | {% data variables.product.prodname_vscode %} | {% data variables.product.prodname_vscode %} and the {% data variables.product.github %} website |
34+
| Premium/standard feature | Standard feature available to all {% data variables.product.prodname_copilot_short %} subscribers | Premium feature. Available with the {% data variables.product.prodname_copilot_pro_short %}, {% data variables.product.prodname_copilot_pro_plus_short %}, {% data variables.product.prodname_copilot_business_short %}, and {% data variables.product.prodname_copilot_enterprise_short %} plans. Per-person monthly quota applies. |
35+
| Description | Initial review of a highlighted section of code with feedback and suggestions | Deeper review of all changes |
36+
| Language support | All | C#, Go, Java, JavaScript, Markdown, Python, Ruby, TypeScript <br><br> {% data variables.release-phases.public_preview_caps %} support for C, C++, Kotlin, and Swift. |
37+
| Custom coding guidelines support | No | Yes, see [Customizing {% data variables.product.prodname_copilot_short %}'s reviews with coding guidelines](#customizing-copilots-reviews-with-coding-guidelines) |
3738

3839
{% endrowheaders %}
3940

40-
### Premium requests
41+
{% endvscode %}
42+
43+
{% webui %}
44+
45+
Two types of {% data variables.copilot.copilot_code-review_short %} are available:
46+
47+
* **Review selection:** Highlight code and ask for an initial review _(only available in {% data variables.product.prodname_vscode_shortname %})_
48+
* **Review changes:** Request a deeper review of all your changes _(available in {% data variables.product.prodname_vscode_shortname %} and the {% data variables.product.github %} website)_
49+
50+
This version of the article relates to {% data variables.copilot.copilot_code-review_short %} on the {% data variables.product.github %} website. To see information about the review selection type of {% data variables.copilot.copilot_code-review_short %}, click the "{% data variables.product.prodname_vscode %}" tool switcher at the top of the page.
4151

42-
Each {% data variables.product.prodname_copilot_short %} code review consumes one premium request. See [AUTOTITLE](/copilot/managing-copilot/monitoring-usage-and-entitlements/about-premium-requests).
52+
### Availability
4353

44-
### Maximum code reviews per month
54+
{% data variables.copilot.copilot_code-review_short %} on the {% data variables.product.github %} website is a premium feature, available with the {% data variables.product.prodname_copilot_pro_short %}, {% data variables.product.prodname_copilot_pro_plus_short %}, {% data variables.product.prodname_copilot_business_short %}, and {% data variables.product.prodname_copilot_enterprise_short %} plans.
55+
56+
{% endwebui %}
57+
58+
### Code review monthly quota
4559

4660
The **review changes** type of {% data variables.copilot.copilot_code-review_short %} is a premium feature with a per-person monthly quota.
4761

@@ -50,12 +64,31 @@ The **review changes** type of {% data variables.copilot.copilot_code-review_sho
5064
> The per-person quota for {% data variables.product.prodname_copilot_short %} code review will commence on May 5th, 2025.
5165
<!-- end expires 2025-05-05 -->
5266
53-
When you assign {% data variables.product.prodname_copilot_short %} as a reviewer for a pull request, one premium request is deducted from your monthly quota each time {% data variables.product.prodname_copilot_short %} posts comments to the pull request.
67+
When you assign {% data variables.product.prodname_copilot_short %} as a reviewer for a pull request, one premium request is deducted from your monthly quota each time {% data variables.product.prodname_copilot_short %} posts comments to the pull request. See [AUTOTITLE](/copilot/managing-copilot/monitoring-usage-and-entitlements/about-premium-requests).
5468

5569
If a repository is configured to automatically request a code review from {% data variables.product.prodname_copilot_short %} for all new pull requests, the premium request usage is applied to the quota of the pull request author. If a pull request is created by {% data variables.product.prodname_actions %} or by a bot, the usage will apply to the user who triggered the workflow (if identifiable), or to a designated billing owner.
5670

5771
When you reach your monthly quota you will not be able to get a code review from {% data variables.product.prodname_copilot_short %} until your quota resets—unless you upgrade your {% data variables.product.prodname_copilot_short %} plan or enable additional premium requests.
5872

73+
{% webui %}
74+
75+
### Language support
76+
77+
{% data variables.copilot.copilot_code-review_short %} on the {% data variables.product.github %} website supports the following languages:
78+
79+
* C#
80+
* Go
81+
* Java
82+
* JavaScript
83+
* Markdown
84+
* Python
85+
* Ruby
86+
* TypeScript
87+
88+
Plus {% data variables.release-phases.public_preview %} support for C, C++, Kotlin, and Swift.
89+
90+
{% endwebui %}
91+
5992
### Validating {% data variables.product.prodname_copilot_short %} code reviews
6093

6194
> [!WARNING] {% data variables.product.prodname_copilot_short %} isn't guaranteed to spot all problems or issues in a pull request, and sometimes it will make mistakes. Always validate {% data variables.product.prodname_copilot_short %}'s feedback carefully, and supplement {% data variables.product.prodname_copilot_short %}'s feedback with a human review.

0 commit comments

Comments
 (0)