[Bug fix] - fix code scanning section for GHES 3.17 (#58319)
This commit is contained in:
@@ -69,15 +69,17 @@ To update private dependencies of repositories in your organization, {% data var
|
||||
{% data reusables.code-scanning.about-code-scanning %}
|
||||
|
||||
{% ifversion ghes > 3.16 %}
|
||||
<!-- There is only one bullet point in this section, so we don't display a list for GHES 3.17. -->
|
||||
<!-- There is only one bullet point in this section, so we don't display a list for GHES 3.17+. -->
|
||||
|
||||
You can recommend that repositories in your organization use the "Extended" query suite instead of the "Default" query suite for broader {% data variables.product.prodname_code_scanning %} coverage across your organization. See [Recommending the extended query suite for default setup](#recommending-the-extended-query-suite-for-default-setup).
|
||||
|
||||
{% else %}
|
||||
|
||||
You can customize several {% data variables.product.prodname_global_settings %} for {% data variables.product.prodname_code_scanning %}:
|
||||
|
||||
{% ifversion code-scanning-autofix %}
|
||||
* [Enabling {% data variables.copilot.copilot_autofix_short %} for {% data variables.product.prodname_codeql %}](#enabling-copilot-autofix-for-codeql){% endif %}
|
||||
{% ifversion code-scanning-autofix %}* [Enabling {% data variables.copilot.copilot_autofix_short %} for {% data variables.product.prodname_codeql %}](#enabling-copilot-autofix-for-codeql){% endif %}
|
||||
* [Recommending the extended query suite for default setup](#recommending-the-extended-query-suite-for-default-setup){% ifversion ghes < 3.17 %}
|
||||
* [Setting a failure threshold for {% data variables.product.prodname_code_scanning %} checks in pull requests](#setting-a-failure-threshold-for-code-scanning-checks-in-pull-requests)
|
||||
* [Setting a failure threshold for {% data variables.product.prodname_code_scanning %} checks in pull requests](#setting-a-failure-threshold-for-code-scanning-checks-in-pull-requests).{% endif %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
@@ -108,7 +110,7 @@ You can choose the severity levels at which {% data variables.product.prodname_c
|
||||
You can customize several {% data variables.product.prodname_global_settings %} for {% data variables.product.prodname_secret_scanning %}:
|
||||
|
||||
* [Adding a resource link for blocked commits](#adding-a-resource-link-for-blocked-commits)
|
||||
* [Defining custom patterns](#defining-custom-patterns){% endif %}{% ifversion push-protected-pattern-configuration %}
|
||||
* [Defining custom patterns](#defining-custom-patterns){% ifversion push-protected-pattern-configuration %}
|
||||
* [Specifying patterns to include in push protection](#specifying-patterns-to-include-in-push-protection){% endif %}
|
||||
|
||||
### Adding a resource link for blocked commits
|
||||
|
||||
Reference in New Issue
Block a user