Skip to content

Commit dd233ea

Browse files
authored
Merge pull request #39264 from github/repo-sync
Repo sync
2 parents eb24002 + beb4290 commit dd233ea

File tree

5 files changed

+58
-14
lines changed

5 files changed

+58
-14
lines changed

content/copilot/how-tos/agents/copilot-code-review/using-copilot-code-review.md

Lines changed: 46 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ redirect_from:
1212
- /early-access/copilot/code-reviews/using-copilot-code-review
1313
- /early-access/copilot/code-reviews/using-copilot-code-reviews
1414
- /copilot/using-github-copilot/code-review/using-copilot-code-review
15+
- /copilot/code-review
1516
---
1617

1718
## About {% data variables.copilot.copilot_code-review_short %}
@@ -44,11 +45,7 @@ The current functionality and availability of the two types of review is summari
4445

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

47-
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).
48-
49-
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.
50-
51-
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.
48+
{% data reusables.copilot.code-review.premium-reqs-monthly-quota %}
5249

5350
{% endvscode %}
5451

@@ -63,23 +60,47 @@ This version of the article relates to {% data variables.copilot.copilot_code-re
6360

6461
### Availability
6562

66-
{% data variables.copilot.copilot_code-review_short %} on the {% data variables.product.github %} website is a premium feature, available with the {% data variables.copilot.copilot_pro_short %}, {% data variables.copilot.copilot_pro_plus_short %}, {% data variables.copilot.copilot_business_short %}, and {% data variables.copilot.copilot_enterprise_short %} plans.
63+
{% data reusables.copilot.code-review.availability %}
64+
65+
{% data reusables.copilot.code-review.enable-for-orgs %}
6766

6867
### Code review monthly quota
6968

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

72-
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).
71+
{% data reusables.copilot.code-review.premium-reqs-monthly-quota %}
7372

74-
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.
73+
{% endwebui %}
7574

76-
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.
75+
{% mobile %}
7776

78-
### Language support
77+
### Availability
7978

80-
{% data variables.copilot.copilot_code-review_short %} on the {% data variables.product.github %} website supports all languages.
79+
{% data reusables.copilot.code-review.availability %}
8180

82-
{% endwebui %}
81+
{% data reusables.copilot.code-review.enable-for-orgs %}
82+
83+
### Code review monthly quota
84+
85+
{% data variables.copilot.copilot_code-review_short %} is a premium feature with a per-person monthly quota.
86+
87+
{% data reusables.copilot.code-review.premium-reqs-monthly-quota %}
88+
89+
{% endmobile %}
90+
91+
{% visualstudio %}
92+
93+
### Availability
94+
95+
{% data reusables.copilot.code-review.availability %}
96+
97+
### Code review monthly quota
98+
99+
{% data variables.copilot.copilot_code-review_short %} is a premium feature with a per-person monthly quota.
100+
101+
{% data reusables.copilot.code-review.premium-reqs-monthly-quota %}
102+
103+
{% endvisualstudio %}
83104

84105
### Validating {% data variables.product.prodname_copilot_short %} code reviews
85106

@@ -93,8 +114,6 @@ For more information, see [AUTOTITLE](/copilot/responsible-use-of-github-copilot
93114

94115
These instructions explain how to use {% data variables.copilot.copilot_code-review_short %} in the {% data variables.product.github %} website. To see instructions for other popular coding environments, use the tool switcher at the top of the page.
95116

96-
### Requesting a pull request review from {% data variables.product.prodname_copilot_short %}
97-
98117
1. On {% data variables.product.prodname_dotcom_the_website %}, create a pull request or navigate to an existing pull request.
99118
1. Open the **Reviewers** menu, then select **{% data variables.product.prodname_copilot_short %}**.
100119

@@ -248,3 +267,16 @@ To use {% data variables.copilot.copilot_code-review_short %}, you must use {% d
248267
For more information on enabling and configuring {% data variables.copilot.copilot_code-review_short %} in {% data variables.product.prodname_vs %}, see [Review local changes with {% data variables.copilot.copilot_chat_short %}](https://learn.microsoft.com/en-us/visualstudio/version-control/git-make-commit?view=vs-2022#review-local-changes-with-copilot-chat) in the {% data variables.product.prodname_vs %} documentation.
249268

250269
{% endvisualstudio %}
270+
271+
{% mobile %}
272+
273+
These instructions explain how to use {% data variables.copilot.copilot_code-review_short %} in {% data variables.product.prodname_mobile %}. To see instructions for other popular coding environments, use the tool switcher at the top of the page.
274+
275+
1. In {% data variables.product.prodname_mobile %}, open a pull request.
276+
1. Scroll down to the **Reviews** section and expand it.
277+
1. Click **Request Reviews**.
278+
1. Add {% data variables.product.prodname_copilot_short %} as a reviewer, then click **Done**.
279+
280+
{% data variables.product.prodname_copilot_short %} will review the changes and provide feedback.
281+
282+
{% endmobile %}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{% data variables.copilot.copilot_code-review %} is available with the {% data variables.copilot.copilot_pro_short %}, {% data variables.copilot.copilot_pro_plus_short %}, {% data variables.copilot.copilot_business_short %}, and {% data variables.copilot.copilot_enterprise_short %} plans.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
If you receive {% data variables.product.prodname_copilot_short %} from an organization, then to be able to request a review from {% data variables.product.prodname_copilot_short %}, **{% data variables.product.prodname_copilot_short %} in {% data variables.product.prodname_dotcom_the_website %}** must be enabled in the {% data variables.product.prodname_copilot_short %} policy settings for the organization. See [AUTOTITLE](/copilot/how-tos/administer/organizations/managing-policies-for-copilot-in-your-organization).
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
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).
2+
3+
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.
4+
5+
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.
6+
7+
### Language support
8+
9+
{% data variables.copilot.copilot_code-review_short %} supports all languages.

src/tools/lib/all-tools.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export const allTools: ToolsMapping = {
2222
javascript: 'JavaScript',
2323
jetbrains: 'JetBrains IDEs',
2424
jetbrains_beta: 'JetBrains IDEs (Beta)',
25+
mobile: 'Mobile',
2526
skillsets: 'Skillsets',
2627
vimneovim: 'Vim/Neovim',
2728
powershell: 'PowerShell',

0 commit comments

Comments
 (0)