Skip to content

Commit 3bea960

Browse files
coadaflorinCopilotmchammer01
authored
Revise default setup language configuration details (#58267)
Co-authored-by: Copilot <[email protected]> Co-authored-by: mc <[email protected]>
1 parent e1ead9e commit 3bea960

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

content/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning-at-scale.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ For repositories that are not eligible for default setup, you can configure adva
4545
A repository must meet all the following criteria to be eligible for default setup, otherwise you need to use advanced setup.
4646

4747
* Advanced setup for {% data variables.product.prodname_code_scanning %} is not already enabled.
48-
* Uses Go, JavaScript/TypeScript, Python, or Ruby.
4948
{% data reusables.code-scanning.require-actions-ghcs %}
5049

5150
{% data reusables.code-scanning.default-setup-pre-enablement-explanation %}

content/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,9 @@ Default setup uses the `none` build mode for {% data variables.code-scanning.no_
5656

5757
We recommend that you start using {% data variables.product.prodname_code_scanning %} with default setup. After you've initially configured default setup, you can evaluate {% data variables.product.prodname_code_scanning %} to see how it's working for you. If you find that something isn't working as you expect, you can customize default setup to better meet your needs. For more information, see [AUTOTITLE](/code-security/code-scanning/enabling-code-scanning/evaluating-default-setup-for-code-scanning).
5858

59-
### About adding non-compiled and compiled languages to your default setup
59+
### About adding new languages to your default setup
6060

61-
If the code in a repository changes to include Go, JavaScript/TypeScript, Python, or Ruby, {% data variables.product.prodname_dotcom %} will automatically update the {% data variables.product.prodname_code_scanning %} configuration to include the new language. If {% data variables.product.prodname_code_scanning %} fails with the new configuration, {% data variables.product.prodname_dotcom %} will resume the previous configuration automatically so the repository does not lose {% data variables.product.prodname_code_scanning %} coverage.
62-
63-
Compiled languages are not automatically included in default setup configuration because they often require more advanced configuration, but you can manually select any {% data variables.product.prodname_codeql %}-supported compiled language for analysis.
61+
If the code in a repository changes to include any {% data variables.product.prodname_codeql %}-supported languages, {% data variables.product.prodname_dotcom %} will automatically update the {% data variables.product.prodname_code_scanning %} configuration to include the new language. If {% data variables.product.prodname_code_scanning %} fails with the new configuration, {% data variables.product.prodname_dotcom %} will resume the previous configuration automatically so the repository does not lose {% data variables.product.prodname_code_scanning %} coverage.
6462

6563
## Configuring default setup for a repository
6664

@@ -79,7 +77,6 @@ Compiled languages are not automatically included in default setup configuration
7977
{% ifversion ghas-products %}
8078

8179
![Screenshot of the "{% data variables.product.prodname_code_scanning_caps %}" section of "{% data variables.product.UI_advanced_security %}" settings. The "Default setup" button is highlighted with an orange outline.](/assets/images/help/security/default-code-scanning-setup-ghas.png)
82-
8380

8481
{% else %}
8582

@@ -89,11 +86,9 @@ Compiled languages are not automatically included in default setup configuration
8986

9087
You will then see a "{% data variables.product.prodname_codeql %} default configuration" dialog summarizing the {% data variables.product.prodname_code_scanning %} configuration automatically created by default setup.
9188

92-
> [!NOTE]
93-
> If your repository contains _only_ compiled {% data variables.product.prodname_codeql %}-supported languages (for example, Java), you will be taken to the settings page to select the languages you want to add to your default setup configuration.
9489

9590
1. Optionally, to customize your {% data variables.product.prodname_code_scanning %} setup, click **{% octicon "pencil" aria-hidden="true" aria-label="pencil" %} Edit**.
96-
* To add or remove a language from the analysis performed by default setup, select or deselect that language in the "Languages" section. If you would like to analyze a {% data variables.product.prodname_codeql %}-supported compiled language with default setup, select that language here.
91+
* To add or remove a language from the analysis performed by default setup, select or deselect that language in the "Languages" section.
9792
* To specify the {% data variables.product.prodname_codeql %} query suite you would like to use, select your preferred query suite in the "Query suites" section.
9893

9994
1. Review the settings for default setup on your repository, then click **Enable {% data variables.product.prodname_codeql %}**. This will trigger a workflow that tests the new, automatically generated configuration.

0 commit comments

Comments
 (0)