Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6e18742

Browse files
ci: replace unmaintained markdown link checker (#15424)
The old one was flaking a bunch and blocking PRs. This is the one recommended by the maintainer of the old.
1 parent 7318cc0 commit 6e18742

File tree

4 files changed

+14
-42
lines changed

4 files changed

+14
-42
lines changed

.github/.linkspector.yml

+9
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

-35
This file was deleted.

.github/workflows/weekly-docs.yaml

+4-6
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'

docs/admin/integrations/jfrog-xray.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ using Coder's [JFrog Xray Integration](https://github.com/coder/coder-xray).
2727
[permission](https://jfrog.com/help/r/jfrog-platform-administration-documentation/permissions)
2828
for the repositories you want to scan.
2929
1. Create a Coder [token](../../reference/cli/tokens_create.md#tokens-create)
30-
with a user that has the [`owner`](../users#roles) role.
30+
with a user that has the [`owner`](../users/index.md#roles) role.
3131
1. Create Kubernetes secrets for the JFrog Xray and Coder tokens.
3232

3333
```bash

0 commit comments

Comments
 (0)