diff --git a/data/reusables/code-scanning/not-available.md b/data/reusables/code-scanning/not-available.md index 6531f5e1d087..0e4d2ac82f21 100644 --- a/data/reusables/code-scanning/not-available.md +++ b/data/reusables/code-scanning/not-available.md @@ -1,7 +1,7 @@ {% if currentVersion == "free-pro-team@latest" %} {% note %} -**Note:** For private and internal repositories, {% data variables.product.prodname_code_scanning %} is available when {% data variables.product.prodname_GH_advanced_security %} features are enabled for the repository. If you see the error `Advanced Security must be enabled for this repository to use code scanning.` check that {% data variables.product.prodname_GH_advanced_security %} is enabled. For more information, see "[Managing security and analysis settings for your repository](/github/administering-a-repository/managing-security-and-analysis-settings-for-your-repository)." +**Note:** For private and internal repositories, {% data variables.product.prodname_code_scanning %} is available when {% data variables.product.prodname_GH_advanced_security %} features are enabled for the repository. If you see the error `Advanced Security must be enabled for this repository to use code scanning`, check that {% data variables.product.prodname_GH_advanced_security %} is enabled. For more information, see "[Managing security and analysis settings for your repository](/github/administering-a-repository/managing-security-and-analysis-settings-for-your-repository)." {% endnote %} {% endif %}