Skip to content

Commit b616098

Browse files
Deprecate content for Copilot code review deterministic static analysis tools (#59683)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: dihydroJenoxide <97056108+dihydroJenoxide@users.noreply.github.com>
1 parent e61d38a commit b616098

4 files changed

Lines changed: 3 additions & 46 deletions

File tree

content/copilot/concepts/agents/code-review.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ redirect_from:
1111
- /copilot/code-review
1212
- /copilot/concepts/code-review/code-review
1313
- /copilot/concepts/code-review
14+
- /copilot/how-tos/use-copilot-agents/request-a-code-review/manage-tools
1415
contentType: concepts
1516
category:
1617
- Learn about Copilot
@@ -93,7 +94,6 @@ If you get a {% data variables.product.prodname_copilot_short %} subscription fr
9394
These new tools are enabled automatically for {% data variables.copilot.copilot_pro_short %} or {% data variables.copilot.copilot_pro_plus_short %} plans.
9495

9596
* **Full project context gathering**. This provides more specific, accurate, and contextually aware code reviews.
96-
* **Support for static analysis tools like {% data variables.product.prodname_codeql %}, ESLint, and PMD**. This delivers more high-signal, consistent findings for security and quality.
9797
* **The ability to pass suggestions to {% data variables.copilot.copilot_coding_agent %}**. This automates creation of a new pull request against your branch with the suggested fixes applied.
9898

9999
You do not need to have {% data variables.product.prodname_code_scanning %} and {% data variables.product.prodname_actions %} enabled in your organization or enterprise to use the {% data variables.copilot.copilot_code-review-tools_short %}.
@@ -176,16 +176,6 @@ For full instructions, see [AUTOTITLE](/copilot/how-tos/agents/copilot-code-revi
176176
> [!NOTE]
177177
> Unless {% data variables.product.prodname_copilot_short %} has been configured to review each push to a pull request, it will only review a pull request once. If you make changes to the pull request after it has been automatically reviewed and you want {% data variables.product.prodname_copilot_short %} to re-review it, you can request this manually. Click the {% octicon "sync" aria-label="Re-request review" %} button next to {% data variables.product.prodname_copilot_short %}'s name in the **Reviewers** menu.
178178
179-
## About static analysis tools
180-
181-
Enable static analysis tools in {% data variables.copilot.copilot_code-review_short %} to enhance its ability to identify and fix issues. Available tools include:
182-
183-
* **{% data variables.product.prodname_codeql %}**: A code analysis engine that identifies security vulnerabilities. For more information, see [About {% data variables.product.prodname_codeql %}](/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning-with-codeql#about-codeql).
184-
* **ESLint**: A linter designed specifically for JavaScript. See [Core Concepts](https://eslint.org/docs/latest/use/core-concepts/) in the the ESLint documentation.
185-
* **PMD**: A static code analyzer that focuses on Java and Apex. It also supports many other languages. See the [PMD documentation](https://docs.pmd-code.org/latest/).
186-
187-
If you have access to {% data variables.copilot.copilot_code-review-tools_short %}, {% data variables.product.prodname_codeql %} is enabled by default. ESLint and PMD are disabled. If you have access to rulesets, you can change your selected tools. See [AUTOTITLE](/copilot/how-tos/use-copilot-agents/request-a-code-review/manage-tools).
188-
189179
## Getting detailed code quality feedback for your whole repository
190180

191181
{% data variables.copilot.copilot_code-review %} reviews your code in pull requests and provides feedback. If you want actionable feedback on the reliability and maintainability of your whole repository, enable {% data variables.product.prodname_code_quality %}. See [AUTOTITLE](/code-security/code-quality/concepts/about-code-quality).

content/copilot/how-tos/use-copilot-agents/request-a-code-review/index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
---
22
title: Code review
33
shortTitle: Request a code review
4-
intro: 'Learn how you can request and configure reviews from {% data variables.product.prodname_copilot_short %}.'
4+
intro: 'Request and configure code reviews from {% data variables.product.prodname_copilot_short %}.'
55
versions:
66
feature: copilot
77
topics:
88
- Copilot
99
children:
1010
- /use-code-review
1111
- /configure-automatic-review
12-
- /manage-tools
1312
redirect_from:
1413
- /copilot/using-github-copilot/code-review
1514
- /copilot/how-tos/agents/copilot-code-review

content/copilot/how-tos/use-copilot-agents/request-a-code-review/manage-tools.md

Lines changed: 0 additions & 32 deletions
This file was deleted.

data/reusables/copilot/code-review/manage-static-analysis-tools.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
* If you **do not have an existing ruleset** for {% data variables.copilot.copilot_code-review_short %}, select the **New ruleset** {% octicon "triangle-down" aria-hidden="true" aria-label="triangle" %} dropdown menu, then click **New branch ruleset** and give your ruleset a name.
44
1. In the "Rules" section, select **Manage static analysis tools in {% data variables.copilot.copilot_code-review_short %}**.
55
1. To update the tools that {% data variables.copilot.copilot_code-review_short %} will use, select the **Select tools** {% octicon "triangle-down" aria-hidden="true" aria-label="triangle-down" %} dropdown menu, then select or deselect the available tools.
6-
1. To apply your selections, at the bottom of the page, click **Create** or **Save changes**.
6+
1. To apply your selections, at the bottom of the page, click **Create** or **Save changes**.

0 commit comments

Comments
 (0)