summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Soref <jsoref@users.noreply.github.com>2021-01-11 13:50:16 -0500
committerGitHub <noreply@github.com>2021-01-11 13:50:16 -0500
commit9605ceba09332c3159a25519c802d1d1dde25c6e (patch)
tree4c4e7e2af8f919117331d2a0228035d0381c88d6
parentc5e3a7a7f9bd7d3a3b2a794e51b3c53680a97436 (diff)
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...
-rw-r--r--.github/workflows/docs.yml2
-rw-r--r--.mlc_config.json9
2 files changed, 9 insertions, 2 deletions
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 9021e7c167..2a4fe87e4a 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -17,7 +17,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Run link check
- uses: gaurav-nelson/github-action-markdown-link-check@1.0.7
+ uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-quiet-mode: 'no'
use-verbose-mode: 'yes'
diff --git a/.mlc_config.json b/.mlc_config.json
index ccdb194413..8164bc4f81 100644
--- a/.mlc_config.json
+++ b/.mlc_config.json
@@ -1,7 +1,10 @@
{
"ignorePatterns": [
{
- "pattern": "^https:\/\/pi-hole.net"
+ "pattern": "^https:\/\/pi-hole\.net\b"
+ },
+ {
+ "pattern": "^https:\/\/docs\.stackpulse\.io\b"
}
],
"replacementPatterns": [
@@ -9,5 +12,9 @@
"pattern": "^/",
"replacement": "/github/workspace/"
}
+ ],
+ "aliveStatusCodes": [
+ 200,
+ 429
]
}