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/using-github-copilot/code-review/configuring-automatic-code-review-by-copilot.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ After you configure automatic code review, {% data variables.product.prodname_co
27
27
28
28
### Limits on automatic pull request reviews
29
29
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).
31
31
32
32
## Configuring automatic code review for a single repository
Copy file name to clipboardExpand all lines: content/copilot/using-github-copilot/code-review/using-copilot-code-review.md
+48-15Lines changed: 48 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,6 @@ title: Using GitHub Copilot code review
3
3
shortTitle: Using code review
4
4
intro: "Learn how to request a code review from {% data variables.product.prodname_copilot %}."
5
5
allowTitleToDifferFromFilename: true
6
-
product: 'See the table below.'
7
6
versions:
8
7
feature: copilot
9
8
topics:
@@ -18,30 +17,45 @@ redirect_from:
18
17
19
18
{% 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.
20
19
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:
22
23
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
25
26
26
27
The current functionality and availability of the two types of review is summarized in the following table:
|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.|
|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)|
37
38
38
39
{% endrowheaders %}
39
40
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.
41
51
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
43
53
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
45
59
46
60
The **review changes** type of {% data variables.copilot.copilot_code-review_short %} is a premium feature with a per-person monthly quota.
47
61
@@ -50,12 +64,31 @@ The **review changes** type of {% data variables.copilot.copilot_code-review_sho
50
64
> The per-person quota for {% data variables.product.prodname_copilot_short %} code review will commence on May 5th, 2025.
51
65
<!-- end expires 2025-05-05 -->
52
66
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).
54
68
55
69
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.
56
70
57
71
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.
58
72
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
+
59
92
### Validating {% data variables.product.prodname_copilot_short %} code reviews
60
93
61
94
> [!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