Skip to content

Commit

Permalink
Minor improvement: Add versioning for GHES to a couple of images spot…
Browse files Browse the repository at this point in the history
…ted in accessibility work (#36803)
  • Loading branch information
felicitymay authored May 3, 2023
1 parent b2d4140 commit 2b832a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Each alert highlights a problem with the code and the name of the tool that iden
{% data reusables.code-scanning.alert-default-branch %}
{% endif %}

{% ifversion fpt or ghec %}
{% ifversion fpt or ghec or ghes > 3.8 %}
![Screenshot showing the elements of a {% data variables.product.prodname_code_scanning %} alert, including the title of the alert and relevant lines of code at left and the severity level, affected branches, and weaknesses at right. ](/assets/images/help/repository/code-scanning-alert.png)
{% elsif ghes = 3.4 %}
![Screenshot showing the elements of a {% data variables.product.prodname_code_scanning %} alert, including the title of the alert and relevant lines of code at left and the severity level, affected branches, and weaknesses at right.](/assets/images/enterprise/3.4/repository/code-scanning-alert.png)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ For all configurations of {% data variables.product.prodname_code_scanning %}, t

To see the full set of alerts for the analyzed branch, click **View all branch alerts**. This opens the full alert view where you can filter all the alerts on the branch by type, severity, tag, etc. For more information, see "[AUTOTITLE](/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/managing-code-scanning-alerts-for-your-repository#filtering-and-searching-for-code-scanning-alerts)."

{% ifversion fpt or ghec %}
{% ifversion fpt or ghec or ghes > 3.9 %}
![Screenshot of the {% data variables.product.prodname_code_scanning_caps %} results check on a pull request. The "View all branch alerts" link is highlighted with a dark orange outline.](/assets/images/help/repository/code-scanning-results-check.png)
{% else %}
![Screenshot of the {% data variables.product.prodname_code_scanning_caps %} results check on a pull request. The "View all branch alerts" link is emphasised.](/assets/images/enterprise/code-security/code-scanning-results-check.png)
Expand Down

0 comments on commit 2b832a3

Please sign in to comment.