Skip to content

Commit 72381f6

Browse files
saritaimchammer01
andauthored
Apply suggestions from code review
Co-authored-by: mc <[email protected]>
1 parent efd8c3a commit 72381f6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/managing-code-scanning-alerts-for-your-repository.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ By default, the code scanning alerts page is filtered to show alerts for the def
4747
![List of alerts from {% data variables.product.prodname_code_scanning %}](/assets/images/enterprise/3.1/help/repository/code-scanning-click-alert.png)
4848
{% endif %}
4949
{% ifversion fpt or ghec or ghes > 3.4 or ghae-issue-6249 %}
50-
1. {% data reusables.code-scanning.alert-default-branch %}
50+
{% data reusables.code-scanning.alert-default-branch %}
5151
<!-- Insert screenshot with status and Affected branches sections highlighted-->{% endif %}
5252
1. Optionally, if the alert highlights a problem with data flow, click **Show paths** to display the path from the data source to the sink where it's used.
5353
![The "Show paths" link on an alert](/assets/images/help/repository/code-scanning-show-paths.png)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
The status and information on the alert page will only reflect the state of the alert on the default branch of the repository, even if the alert exists in other branches. You can see the status of the alert on non-default branches in the **Affected branches** section on the right-hand side of the alert page. If an alert does not exist in the default branch, the status of the alert will display as "in pull request" or "in branch" and will be colored grey.
1+
The status and information on the alert page only reflects the state of the alert on the default branch of the repository, even if the alert exists in other branches. You can see the status of the alert on non-default branches in the **Affected branches** section on the right-hand side of the alert page. If an alert doesn't exist in the default branch, the status of the alert will display as "in pull request" or "in branch" and will be colored grey.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Please note that if you have filtered for alerts on a non-default branch, but the same alerts exist on the default branch, the alert page for any given alert will still only reflect the alert's status on the default branch, even if it conflicts with the status on a non-default branch. For example, an alert that appears in the "Open" list in the summary of alerts for `branch-x` could show a status of "Fixed" on the alert page, if the alert was already fixed on the default branch. You can view the status of the alert for the branch you filtered on in the **Affected branches** section on the right side of the alert page.
1+
Please note that if you have filtered for alerts on a non-default branch, but the same alerts exist on the default branch, the alert page for any given alert will still only reflect the alert's status on the default branch, even if that status conflicts with the status on a non-default branch. For example, an alert that appears in the "Open" list in the summary of alerts for `branch-x` could show a status of "Fixed" on the alert page, if the alert is already fixed on the default branch. You can view the status of the alert for the branch you filtered on in the **Affected branches** section on the right side of the alert page.

0 commit comments

Comments
 (0)