markdown link checker updates (#5804)
This commit is contained in:
parent
e58d39d4ad
commit
fd5c7c5b23
|
@ -1,11 +1,7 @@
|
||||||
{
|
{
|
||||||
"ignorePatterns": [
|
"retryOn429": true,
|
||||||
{
|
"aliveStatusCodes": [
|
||||||
"pattern": "^https://mvnrepository\\.com/artifact/io\\.opentelemetry$"
|
200,
|
||||||
},
|
403
|
||||||
{
|
]
|
||||||
"pattern": "^http://code\\.google\\.com/p/concurrentlinkedhashmap$"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"retryOn429": true
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -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' \
|
-name '*.md' \
|
||||||
-not -path './CHANGELOG.md' \
|
-not -path './CHANGELOG.md' \
|
||||||
-not -path './licenses/*' \
|
-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