markdown link checker updates (#5804)
This commit is contained in:
parent
e58d39d4ad
commit
fd5c7c5b23
|
@ -1,11 +1,7 @@
|
|||
{
|
||||
"ignorePatterns": [
|
||||
{
|
||||
"pattern": "^https://mvnrepository\\.com/artifact/io\\.opentelemetry$"
|
||||
},
|
||||
{
|
||||
"pattern": "^http://code\\.google\\.com/p/concurrentlinkedhashmap$"
|
||||
}
|
||||
],
|
||||
"retryOn429": true
|
||||
"retryOn429": true,
|
||||
"aliveStatusCodes": [
|
||||
200,
|
||||
403
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
#!/bin/bash -e
|
||||
|
||||
for file in "$@"; do
|
||||
for i in 1 2 3; do
|
||||
if markdown-link-check --config "$(dirname "$0")/markdown-link-check-config.json" \
|
||||
"$file"; then
|
||||
break
|
||||
elif [[ $i == 3 ]]; then
|
||||
exit 1
|
||||
fi
|
||||
sleep 5
|
||||
done
|
||||
done
|
|
@ -18,4 +18,5 @@ jobs:
|
|||
-name '*.md' \
|
||||
-not -path './CHANGELOG.md' \
|
||||
-not -path './licenses/*' \
|
||||
| xargs .github/scripts/markdown-link-check-with-retry.sh
|
||||
| xargs markdown-link-check \
|
||||
--config .github/scripts/markdown-link-check-config.json
|
||||
|
|
Loading…
Reference in New Issue