8000 ci: replace unmaintained markdown link checker · coder/coder@ec62587 · GitHub
[go: up one dir, main page]

Skip to content

Commit ec62587

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

File tree

3 files changed

+13
-41
lines changed

3 files changed

+13
-41
lines changed

.github/.linkspector.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
dirs:
2+
- docs
3+
ignorePatterns:
4+
- pattern: "://localhost"
5+
- pattern: '://.*.?example\\.com'
6+
- pattern: "github.com/<your_github_handle>"
7+
- pattern: "mailto:"
8+
aliveStatusCodes:
9+
- 200

.github/workflows/mlc_config.json

Lines changed: 0 additions & 35 deletions
This file was deleted.

.github/workflows/weekly-docs.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -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)
0