Skip to content

Commit b1dfca8

Browse files
author
Peter Bengtsson
authored
validate all asset images in CI (github#34325)
1 parent d1ca6c3 commit b1dfca8

File tree

6 files changed

+372
-13
lines changed

6 files changed

+372
-13
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Validate asset images
2+
3+
# **What it does**: Run ./script/validate-asset-images.js on all images in assets/
4+
# **Why we have it**: To protect from innocent and potentially malicious bad image assets
5+
# **Who does it impact**: Docs content.
6+
7+
on:
8+
workflow_dispatch:
9+
pull_request:
10+
paths:
11+
- 'assets/**'
12+
13+
permissions:
14+
contents: read
15+
16+
jobs:
17+
validate-asset-images:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: Check out repo
21+
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
22+
23+
- uses: ./.github/actions/node-npm-setup
24+
25+
- name: Validate all asset images
26+
run: ./script/validate-asset-images.js
File renamed without changes.

content/admin/user-management/managing-users-in-your-enterprise/auditing-ssh-keys.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ fatal: The remote end hung up unexpectedly
4343

4444
When they follow the link, they're asked to approve the keys on their account:
4545

46-
![Auditing keys](/assets/images/enterprise/security/Enterprise-Audit-SSH-Keys.jpg)
46+
![Auditing keys](/assets/images/enterprise/security/Enterprise-Audit-SSH-Keys.png)
4747

4848
After they approve or reject their keys, they'll be able interact with repositories as usual.
4949

0 commit comments

Comments
 (0)