Skip to content

Commit 9cbe7d9

Browse files
committed
Add retry to link checker to reduce transient 504 flakes
Signed-off-by: Sean Chittenden <sean.chittenden@crowdstrike.com>
1 parent 892ef2d commit 9cbe7d9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/links.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
id: lychee
1414
uses: lycheeverse/lychee-action@v2.7.0
1515
with:
16-
args: --accept=200,403,429 "**/*.html" "**/*.md" "**/*.txt" "**/*.json" --exclude "https://opensearch-domain.region.com/" --exclude "https://github.com/\[your*" --exclude "https://localhost:9200"
16+
args: --accept=200,403,429 --max-retries=3 --retry-wait-time=10 "**/*.html" "**/*.md" "**/*.txt" "**/*.json" --exclude "https://opensearch-domain.region.com/" --exclude "https://github.com/\[your*" --exclude "https://localhost:9200"
1717
env:
1818
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
1919
- name: Fail if there were link errors

0 commit comments

Comments
 (0)