Skip to content

Commit 5b22bbe

Browse files
authored
Simplify versioning in article about secret scanning, and make it consistent with the rest (#23401)
* simplify versioning
1 parent a547d79 commit 5b22bbe

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

content/code-security/secret-scanning/managing-alerts-from-secret-scanning.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ shortTitle: Manage secret alerts
2525

2626
{% data reusables.repositories.navigate-to-repo %}
2727
{% data reusables.repositories.sidebar-security %}
28-
3. In the left sidebar, click **Secret scanning alerts**.
28+
1. In the left sidebar, click **Secret scanning alerts**.
2929
{% ifversion fpt or ghes or ghec %}
3030
!["Secret scanning alerts" tab](/assets/images/help/repository/sidebar-secrets.png)
3131
{% endif %}
3232
{% ifversion ghae %}
3333
!["Secret scanning alerts" tab](/assets/images/enterprise/github-ae/repository/sidebar-secrets-ghae.png)
3434
{% endif %}
35-
4. Under "Secret scanning" click the alert you want to view.
35+
1. Under "Secret scanning" click the alert you want to view.
3636
{% ifversion fpt or ghec %}
3737
![List of alerts from secret scanning](/assets/images/help/repository/secret-scanning-click-alert.png)
3838
{% endif %}
@@ -42,11 +42,7 @@ shortTitle: Manage secret alerts
4242
{% ifversion ghae %}
4343
![List of alerts from secret scanning](/assets/images/enterprise/github-ae/repository/secret-scanning-click-alert-ghae.png)
4444
{% endif %}
45-
5. {% ifversion fpt or ghec %}
46-
Optionally, use the "Close as" drop-down menu and click a reason for resolving an alert.
47-
{%- elsif ghes or ghae %}
48-
Optionally, use the "Mark as" drop-down menu and click a reason for resolving an alert.
49-
{% endif %}
45+
1. Optionally, select the {% ifversion fpt or ghec %}"Close as"{% elsif ghes or ghae %}"Mark as"{% endif %} drop-down menu and click a reason for resolving an alert.
5046
{% ifversion fpt or ghec %}
5147
![Drop-down menu for resolving an alert from secret scanning](/assets/images/help/repository/secret-scanning-resolve-alert.png)
5248
{% endif %}

0 commit comments

Comments
 (0)