Skip to content

Commit 56f5438

Browse files
committed
ci: replace unmaintained markdown link checker
1 parent 7318cc0 commit 56f5438

File tree

3 files changed

+21
-43
lines changed

3 files changed

+21
-43
lines changed

.github/.linkspector.yml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
dirs:
2+
- docs
3+
ignorePatterns:
4+
- pattern: '://localhost'
5+
- pattern: '://.*.?example\\.com'
6+
- pattern: 'developer.github.com'
7+
- pattern: 'docs.github.com'
8+
- pattern: 'github.com/<your_github_handle>'
9+
- pattern: 'imgur.com'
10+
- pattern: 'support.google.com'
11+
- pattern: 'mailto:'
12+
- pattern: 'tailscale.com'
13+
- pattern: 'wireguard.com'
14+
aliveStatusCodes:
15+
- 200

.github/workflows/mlc_config.json

-35
This file was deleted.

.github/workflows/weekly-docs.yaml

+6-8
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ on:
77
pull_request:
88
branches:
99
- main
10-
paths:
11-
- "docs/**"
10+
# paths:
11+
# - "docs/**"
1212

1313
permissions:
1414
contents: read
@@ -26,15 +26,13 @@ jobs:
2626
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
2727

2828
- name: Check Markdown links
29-
uses: gaurav-nelson/github-action-markdown-link-check@d53a906aa6b22b8979d33bc86170567e619495ec # v1.0.15
29+
uses: umbrelladocs/action-linkspector@fc382e19892aca958e189954912fe379a8df270c # v1.2.4
3030
id: markdown-link-check
3131
# checks all markdown files from /docs including all subfolders
3232
with:
33-
use-quiet-mode: "yes"
34-
use-verbose-mode: "yes"
35-
config-file: ".github/workflows/mlc_config.json"
36-
folder-path: "docs/"
37-
file-path: "./README.md"
33+
reporter: github-pr-review
34+
config_file: ".github/.linkspector.yml"
35+
fail_on_error: 'true'
3836

3937
- name: Send Slack notification
4038
if: failure() && github.event_name == 'schedule'

0 commit comments

Comments
 (0)