GitHub action markdown link check update (#10474)
* Update github-action-markdown-link-check * Make pattern stricter * Ignore docs.stackpulse.io (400) It requires you to be logged in...
Josh Soref committed
Jan 11, 2021 at 13:50 UTC
9605ceba09332c3159a25519c802d1d1dde25c6e
2 files changed
+9
-2
.github/workflows/docs.yml
+1
-1
@@ -17,7 +17,7 @@ jobs:
17
- name: Checkout
18
uses: actions/checkout@v2
19
- name: Run link check
20
- uses: gaurav-nelson/github-action-markdown-link-check@1.0.7
20
+ uses: gaurav-nelson/github-action-markdown-link-check@v1
21
with:
22
use-quiet-mode: 'no'
23
use-verbose-mode: 'yes'
.mlc_config.json
+8
-1
@@ -1,7 +1,10 @@
1
{
2
"ignorePatterns": [
3
{
4
- "pattern": "^https:\/\/pi-hole.net"
4
+ "pattern": "^https:\/\/pi-hole\.net\b"
5
+ },
6
+ {
7
+ "pattern": "^https:\/\/docs\.stackpulse\.io\b"
8
}
9
],
10
"replacementPatterns": [
@@ -9,5 +12,9 @@
12
"pattern": "^/",
13
"replacement": "/github/workspace/"
14
}
15
+ ],
16
+ "aliveStatusCodes": [
17
+ 200,
18
+ 429
19
]
20
}