Skip to content

Commit 41cebae

Browse files
Switch to using linkspector for validating markdown links (#1178)
1 parent 069a515 commit 41cebae

File tree

3 files changed

+16
-20
lines changed

3 files changed

+16
-20
lines changed

.github/linters/.check-markdown-links.json

-16
This file was deleted.

.github/linters/.linkspector.yml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
aliveStatusCodes:
2+
- 200
3+
- 406
4+
dirs:
5+
- .
6+
- .github
7+
excludedDirs:
8+
- eng/readme-templates
9+
ignorePatterns:
10+
- pattern: "^https://dotnetbinaries.blob.core.windows.net/dockerassets"
11+
- pattern: "^https://github.com/dotnet/release/blob/main/.github/ISSUE_TEMPLATE/dotnet-fx-docker-servicing-release.md"
12+
useGitIgnore: true

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

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jobs:
1717
uses: actions/checkout@v4
1818

1919
- name: Check markdown links
20-
uses: gaurav-nelson/github-action-markdown-link-check@v1
20+
uses: umbrelladocs/action-linkspector@v1
2121
with:
22-
config-file: .github/linters/.check-markdown-links.json
23-
use-quiet-mode: 'yes'
24-
use-verbose-mode: 'no'
22+
config_file: .github/linters/.linkspector.yml
23+
fail_on_error: true
24+
filter_mode: nofilter

0 commit comments

Comments
 (0)