From 31ee48e3c80ee59f75131fe04079aefe904be804 Mon Sep 17 00:00:00 2001 From: aakash Date: Thu, 13 Nov 2025 12:06:52 -0800 Subject: [PATCH] Update exclude pattern and accept 503 status codes as fallback --- .github/workflows/link-check.yml | 2 +- .lycheeignore | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/link-check.yml b/.github/workflows/link-check.yml index 6e9eb7d..86e2e94 100644 --- a/.github/workflows/link-check.yml +++ b/.github/workflows/link-check.yml @@ -14,6 +14,6 @@ jobs: - uses: actions/checkout@v4 - uses: lycheeverse/lychee-action@v2 with: - args: --no-progress --insecure --user-agent 'curl/7.68.0' --exclude '*api.star-history.com*' README.md docs/ apps/ examples/ benchmarks/ + args: --no-progress --insecure --user-agent 'curl/7.68.0' --exclude '*api.star-history.com*' --accept 200,201,202,203,204,205,206,207,208,226,300,301,302,303,304,305,306,307,308,503 README.md docs/ apps/ examples/ benchmarks/ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.lycheeignore b/.lycheeignore index 9d96d76..0c74f32 100644 --- a/.lycheeignore +++ b/.lycheeignore @@ -1,4 +1,4 @@ # Exclude star-history API from link checking # This service is intermittently unavailable (503 errors) # but the link still works when the service is up -https://api.star-history.com/svg?repos=yichuan-w/LEANN&type=Date +*api.star-history.com*