Skip to content

Commit bf57a34

Browse files
committed
Harden link checker with retries and exclude flaky badge URL
Signed-off-by: Sean Chittenden <sean.chittenden@crowdstrike.com>
1 parent 9cbe7d9 commit bf57a34

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 --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"
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" --exclude "https://codecov.io/gh/opensearch-project/opensearch-go/branch/main/graph/badge.svg"
1717
env:
1818
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
1919
- name: Fail if there were link errors

0 commit comments

Comments
 (0)