Skip to content

Commit 70d0087

Browse files
committed
Allow for retrying request in ci/checks/links.sh
1 parent 7d3c864 commit 70d0087

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/checks/links.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ set -e -o pipefail -u
99
git ls-files ':!ci/' ':!hook_samples/' \
1010
| xargs grep -ho "https://[^]')\" ]*" \
1111
| sort -u \
12-
| xargs -t -l curl -Lfs --max-time 30 -o/dev/null -w "> %{http_code}\n" || {
12+
| xargs -t -l curl -Lfs --retry 3 --max-time 30 -o/dev/null -w "> %{http_code}\n" || {
1313
echo "Some of the links found in the codebase did not return 2xx HTTP status, please fix"
1414
exit 1
1515
}

0 commit comments

Comments
 (0)