fix: tighten lychee link checks by excluding flaky hosts

Signed-off-by: Rui Chen <rui@chenrui.dev>
This commit is contained in:
Rui Chen
2025-12-21 22:54:26 -05:00
parent 8d73fa1e92
commit bd86633e46

View File

@@ -13,6 +13,12 @@ max_concurrency = 10
# This prevents CI failures due to temporary rate limits
accept = [200, 204, 206, 429]
# Exclude flaky or bot-blocked hosts while keeping links in README
exclude = [
"^https://web\\.archive\\.org/.*",
"^https://(betterprogramming\\.pub|blog\\.pelo\\.tech|medium\\.com)/.*",
]
# Alternative: Exclude hashicorp.com if rate limiting persists
# Uncomment the line below if you want to skip hashicorp.com checks entirely
# exclude = ['https://www\.hashicorp\.com/.*']