Skip to content

Commit fc2ae75

Browse files
committed
Use umbrelladocs/action-linkspector to check Markdown and AsciiDoc links
1 parent 5a4c833 commit fc2ae75

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

.github/linkspector.yml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
files:
2+
- README.md
3+
dirs:
4+
- ./
5+
- doc
6+
useGitIgnore: true
7+
ignorePatterns:
8+
- pattern: '^http://localhost:.*$'

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

+8-4
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,14 @@ on: push
55
jobs:
66
check-markdown-links:
77
name: 'Check Markdown links'
8-
runs-on: ubuntu-latest
8+
runs-on: ubuntu-22.04
99
steps:
1010
- uses: actions/checkout@v4
11-
- uses: gaurav-nelson/github-action-markdown-link-check@v1
11+
- uses: umbrelladocs/action-linkspector@v1.3.2
1212
with:
13-
check-modified-files-only: 'no'
14-
config-file: '.github/check-md-links.json'
13+
github_token: ${{ secrets.github_token }}
14+
reporter: github-pr-check
15+
fail_on_error: true
16+
filter_mode: nofilter
17+
config_file: '.github/linkspector.yml'
18+
level: 'info'

0 commit comments

Comments
 (0)