Skip to content

Commit 313a7a3

Browse files
hritikchaudharynielslange
authored andcommitted
Update check-doc-links.yml to use tcort/markdown-link-check
1 parent 4e65912 commit 313a7a3

File tree

1 file changed

+20
-13
lines changed

1 file changed

+20
-13
lines changed

.github/workflows/check-doc-links.yml

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,23 @@ concurrency:
1111
permissions: {}
1212

1313
jobs:
14-
markdown-link-check:
15-
runs-on: ubuntu-latest
16-
permissions:
17-
contents: read
18-
steps:
19-
- uses: actions/checkout@v3
20-
- uses: gaurav-nelson/github-action-markdown-link-check@v1
21-
with:
22-
use-quiet-mode: 'yes'
23-
config-file: '.github/workflows/check-doc-links-config.json'
24-
folder-path: './docs'
25-
file-path: './README.md'
26-
base-branch: 'trunk'
14+
markdown_link_check:
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- name: Checkout repository
19+
uses: actions/checkout@v3
20+
21+
- name: Install Node.js
22+
uses: actions/setup-node@v3
23+
with:
24+
node-version-file: '.nvmrc'
25+
cache: 'npm'
26+
27+
- name: Install markdown-link-check
28+
run: npm install -g markdown-link-check
29+
30+
- name: Run markdown-link-check
31+
run: |
32+
find ./docs -path ./docs/internal-developers/testing/releases -prune -o -name "*.md" -print0 | xargs -0 -n1 markdown-link-check
33+

0 commit comments

Comments
 (0)