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...
This commit is contained in:
Josh Soref 2021-01-11 13:50:16 -05:00 committed by GitHub
parent c5e3a7a7f9
commit 9605ceba09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 2 deletions

View File

@ -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'

View File

@ -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
]
}