diff --git a/assets/images/help/copilot/code-review/automatic-code-review-personal.png b/assets/images/help/copilot/code-review/automatic-code-review-personal.png new file mode 100644 index 000000000000..c92788db8ee6 Binary files /dev/null and b/assets/images/help/copilot/code-review/automatic-code-review-personal.png differ diff --git a/content/copilot/managing-copilot/managing-copilot-as-an-individual-subscriber/getting-started-with-copilot-on-your-personal-account/getting-free-access-to-copilot-pro-as-a-student-teacher-or-maintainer.md b/content/copilot/managing-copilot/managing-copilot-as-an-individual-subscriber/getting-started-with-copilot-on-your-personal-account/getting-free-access-to-copilot-pro-as-a-student-teacher-or-maintainer.md index bce7ef006b8e..142b20780b4f 100644 --- a/content/copilot/managing-copilot/managing-copilot-as-an-individual-subscriber/getting-started-with-copilot-on-your-personal-account/getting-free-access-to-copilot-pro-as-a-student-teacher-or-maintainer.md +++ b/content/copilot/managing-copilot/managing-copilot-as-an-individual-subscriber/getting-started-with-copilot-on-your-personal-account/getting-free-access-to-copilot-pro-as-a-student-teacher-or-maintainer.md @@ -32,6 +32,6 @@ If you do not meet the previous criteria, you can either: ## Accessing {% data variables.product.prodname_copilot_pro_short %} for free -1. In the upper-right corner of any page, click your profile photo, then click **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %} Your {% data variables.product.prodname_copilot_short %}**. +{% data reusables.copilot.your-copilot %} 1. If you qualify for free access to {% data variables.product.prodname_copilot_short %}, you will see a page titled "{% data variables.product.prodname_copilot_pro %}" informing you that you are eligible. Click **Get access to {% data variables.product.prodname_copilot %}**. 1. On the page that appears, configure the {% data variables.product.prodname_copilot_short %} use policies to meet your needs, then click **Save and complete**. diff --git a/content/copilot/managing-copilot/managing-copilot-as-an-individual-subscriber/managing-your-copilot-plan/disabling-github-copilot-free.md b/content/copilot/managing-copilot/managing-copilot-as-an-individual-subscriber/managing-your-copilot-plan/disabling-github-copilot-free.md index 31bdb576b4a3..65f20e3f67ed 100644 --- a/content/copilot/managing-copilot/managing-copilot-as-an-individual-subscriber/managing-your-copilot-plan/disabling-github-copilot-free.md +++ b/content/copilot/managing-copilot/managing-copilot-as-an-individual-subscriber/managing-your-copilot-plan/disabling-github-copilot-free.md @@ -17,7 +17,7 @@ redirect_from: You can disable {% data variables.product.prodname_copilot_free_short %} in your {% data variables.product.github %} account settings. This will disable all features of {% data variables.product.prodname_copilot_short %} on {% data variables.product.github %}. -1. In the upper-right corner of any page, click your profile photo, then click **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %} Your {% data variables.product.prodname_copilot_short %}**. +{% data reusables.copilot.your-copilot %} 1. Under "Visibility," to the right of "Show {% data variables.product.prodname_copilot_short %}, select **Disabled** from the dropdown. ## Disabling {% data variables.product.prodname_copilot_free_short %} in your IDE diff --git a/content/copilot/using-github-copilot/code-review/configuring-automatic-code-review-by-copilot.md b/content/copilot/using-github-copilot/code-review/configuring-automatic-code-review-by-copilot.md index a8961476a1c5..7ad57ac3a733 100644 --- a/content/copilot/using-github-copilot/code-review/configuring-automatic-code-review-by-copilot.md +++ b/content/copilot/using-github-copilot/code-review/configuring-automatic-code-review-by-copilot.md @@ -1,7 +1,7 @@ --- title: Configuring automatic code review by Copilot shortTitle: Automatic code review -intro: "Learn how to configure {% data variables.product.prodname_copilot_short %} to automatically review pull requests in a repository." +intro: "Learn how to configure {% data variables.product.prodname_copilot_short %} to automatically review pull requests." versions: feature: copilot topics: @@ -10,7 +10,11 @@ topics: ## About automatic code review -By default, {% data variables.product.prodname_copilot_short %} will only review a pull request if it's assigned to the pull request in the same way you would assign a human reviewer. However, repository owners can configure {% data variables.product.prodname_copilot_short %} to automatically review all pull requests in the repository that are created by people with access to {% data variables.product.prodname_copilot_short %}. Organization owners can configure {% data variables.product.prodname_copilot_short %} to automatically review all pull requests in some or all of the repositories in the organization where the pull request is created by a {% data variables.product.prodname_copilot_short %} user. +By default, {% data variables.product.prodname_copilot_short %} will only review a pull request if it's assigned to the pull request in the same way you would assign a human reviewer. However: + +* Individual users on the {% data variables.product.prodname_copilot_pro_short %} or {% data variables.product.prodname_copilot_pro_plus_short %} plan can configure {% data variables.product.prodname_copilot_short %} to automatically review all pull requests they create. +* Repository owners can configure {% data variables.product.prodname_copilot_short %} to automatically review all pull requests in the repository that are created by people with access to {% data variables.product.prodname_copilot_short %}. +* Organization owners can configure {% data variables.product.prodname_copilot_short %} to automatically review all pull requests in some or all of the repositories in the organization where the pull request is created by a {% data variables.product.prodname_copilot_short %} user. ### Triggering an automatic pull request review @@ -29,6 +33,18 @@ After you configure automatic code review, {% data variables.product.prodname_co {% 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). +## Configuring automatic code review for all pull requests you create + +> [!NOTE] +> This is only available if you are on the {% data variables.product.prodname_copilot_pro_short %} or {% data variables.product.prodname_copilot_pro_plus_short %} plan. + +{% data reusables.copilot.your-copilot %} +1. Locate the **Automatic {% data variables.copilot.copilot_code-review_short %}** option and click the dropdown button. + + ![Screenshot of the "Automatic {% data variables.copilot.copilot_code-review_short %}" setting with the dropdown menu displayed.](/assets/images/help/copilot/code-review/automatic-code-review-personal.png) + +1. In the dropdown menu, select **Enabled**. + ## Configuring automatic code review for a single repository {% data reusables.repositories.navigate-to-repo %} diff --git a/content/copilot/using-github-copilot/code-review/using-copilot-code-review.md b/content/copilot/using-github-copilot/code-review/using-copilot-code-review.md index 668cb15cef9a..036b6dc2db06 100644 --- a/content/copilot/using-github-copilot/code-review/using-copilot-code-review.md +++ b/content/copilot/using-github-copilot/code-review/using-copilot-code-review.md @@ -87,23 +87,6 @@ When you reach your monthly quota you will not be able to get a code review from {% data variables.copilot.copilot_code-review_short %} on the {% data variables.product.github %} website supports all languages. -The following languages have general availability support: - -* C -* C# -* C++ -* Go -* Java -* JavaScript -* Kotlin -* Markdown -* Python -* Ruby -* Swift -* TypeScript - -All other languages are supported as a {% data variables.release-phases.public_preview %}. - {% endwebui %} ### Validating {% data variables.product.prodname_copilot_short %} code reviews @@ -167,7 +150,7 @@ To request a re-review from {% data variables.product.prodname_copilot_short %}, ## Enabling automatic reviews -By default, you manually request a review from {% data variables.product.prodname_copilot_short %} on each pull request, in the same way you would request a review from a human. However, you can set up {% data variables.product.prodname_copilot_short %} to automatically review all pull requests in a repository, or for all repositories in an organization. See [AUTOTITLE](/copilot/using-github-copilot/code-review/configuring-automatic-code-review-by-copilot). +By default, you manually request a review from {% data variables.product.prodname_copilot_short %} on each pull request, in the same way you would request a review from a human. However, you can set up {% data variables.product.prodname_copilot_short %} to automatically review all pull requests. See [AUTOTITLE](/copilot/using-github-copilot/code-review/configuring-automatic-code-review-by-copilot). ## Customizing {% data variables.product.prodname_copilot_short %}'s reviews with coding guidelines diff --git a/data/reusables/copilot/your-copilot.md b/data/reusables/copilot/your-copilot.md new file mode 100644 index 000000000000..a757d1f7046e --- /dev/null +++ b/data/reusables/copilot/your-copilot.md @@ -0,0 +1 @@ +1. In the upper-right corner of any page, click your profile photo, then click **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %} Your {% data variables.product.prodname_copilot_short %}**.