Update exclude pattern and accept 503 status codes as fallback
This commit is contained in:
2
.github/workflows/link-check.yml
vendored
2
.github/workflows/link-check.yml
vendored
@@ -14,6 +14,6 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: lycheeverse/lychee-action@v2
|
- uses: lycheeverse/lychee-action@v2
|
||||||
with:
|
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:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Exclude star-history API from link checking
|
# Exclude star-history API from link checking
|
||||||
# This service is intermittently unavailable (503 errors)
|
# This service is intermittently unavailable (503 errors)
|
||||||
# but the link still works when the service is up
|
# 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*
|
||||||
|
|||||||
Reference in New Issue
Block a user