mirror of
https://github.com/netdata/netdata.git
synced 2025-04-27 22:26:21 +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
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Run link check
|
- 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:
|
with:
|
||||||
use-quiet-mode: 'no'
|
use-quiet-mode: 'no'
|
||||||
use-verbose-mode: 'yes'
|
use-verbose-mode: 'yes'
|
||||||
|
|
|
@ -1,7 +1,10 @@
|
||||||
{
|
{
|
||||||
"ignorePatterns": [
|
"ignorePatterns": [
|
||||||
{
|
{
|
||||||
"pattern": "^https:\/\/pi-hole.net"
|
"pattern": "^https:\/\/pi-hole\.net\b"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pattern": "^https:\/\/docs\.stackpulse\.io\b"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"replacementPatterns": [
|
"replacementPatterns": [
|
||||||
|
@ -9,5 +12,9 @@
|
||||||
"pattern": "^/",
|
"pattern": "^/",
|
||||||
"replacement": "/github/workspace/"
|
"replacement": "/github/workspace/"
|
||||||
}
|
}
|
||||||
|
],
|
||||||
|
"aliveStatusCodes": [
|
||||||
|
200,
|
||||||
|
429
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue