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*