mirror of
https://github.com/netdata/netdata.git
synced 2025-04-14 09:38:34 +00:00
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:
parent
c5e3a7a7f9
commit
9605ceba09
2 changed files with 9 additions and 2 deletions
2
.github/workflows/docs.yml
vendored
2
.github/workflows/docs.yml
vendored
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue