Skip to content

Commit edb6f8f

Browse files
committed
Add LinkSpector
1 parent e585ee3 commit edb6f8f

5 files changed

Lines changed: 1024 additions & 9 deletions

File tree

.github/workflows/validate-markdown.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,17 @@ jobs:
2020
- uses: actions/checkout@v5 # checkout repo content
2121
with:
2222
fetch-depth: 0
23-
# - name: use the javascript environment from main
24-
# run: |
25-
# git checkout remotes/origin/main -- package.json package-lock.json .markdownlint.yaml
23+
2624
- uses: actions/setup-node@v6 # setup Node.js
2725
with:
2826
node-version: "22.x"
27+
2928
- name: Lint markdown
3029
run: npx --yes markdownlint-cli2 --config .markdownlint.yaml npx markdownlint-cli2 *.md schemas/**/*.md versions/*.md
30+
31+
- name: Check links in markdown files
32+
uses: umbrelladocs/action-linkspector@v1
33+
with:
34+
reporter: github-check
35+
fail_level: any
36+
filter_mode: file

.linkspector.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
dirs:
2+
- ./
3+
useGitIgnore: true

0 commit comments

Comments
 (0)