Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,12 @@ Compiled languages are not automatically included in default setup configuration

{% ifversion ghas-products %}

![Screenshot of the "{% data variables.product.UI_code_security_scanning %}" 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.png)
![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)


{% else %}

![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)
![Screenshot of the "{% data variables.product.UI_code_security_scanning %}" 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.png)

{% endif %}

Expand Down
1 change: 0 additions & 1 deletion data/reusables/repositories/code-scanning-enable.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{% ifversion ghas-products %}
1. To the right of "{% data variables.product.prodname_code_security %}", click **Enable**.
1. Under "{% data variables.product.prodname_code_security %}", to the right of "{% data variables.product.prodname_codeql %} analysis", select **Set up** {% octicon "triangle-down" aria-hidden="true" aria-label="triangle-down" %}, then click **Default**.{% else %}
1. In the "{% data variables.product.prodname_code_scanning_caps %}" section, select **Set up** {% octicon "triangle-down" aria-hidden="true" aria-label="triangle-down" %}, then click **Default**.{% endif %}
2 changes: 1 addition & 1 deletion data/variables/product.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ prodname_GH_cs_and_sp: '{% ifversion ghas-products %}GitHub Secret Protection an

## Short or UI names
prodname_AS: 'Advanced Security'
prodname_code_security: '{% ifversion ghas-products %}Code Security{% else %}Advanced Security{% endif %}'
prodname_code_security: '{% ifversion ghas-products %}Code Scanning{% else %}Advanced Security{% endif %}'
prodname_secret_protection: '{% ifversion ghas-products %}Secret Protection{% else %}Advanced Security{% endif %}'
prodname_cs_or_sp: '{% ifversion ghas-products %}Secret Protection or Code Security{% else %}Advanced Security{% endif %}'
prodname_cs_and_sp: '{% ifversion ghas-products %}Secret Protection and Code Security{% else %}Advanced Security{% endif %}'
Expand Down
Loading