Fix Lychee URL checking on CI

This also adds the cache file to `.gitignore` in case you run Lychee locally
with the same options as CI.
This commit is contained in:
Hugo Locurcio
2026-05-16 17:56:39 +02:00
parent b226afc297
commit fcadbdf7d5
8 changed files with 24 additions and 11 deletions

View File

@@ -10,18 +10,27 @@ tcp:\/\/.*
# Security checks prevent checking the URLs of these websites automatically,
# typically returning 403 errors.
.*asecuritysite\.com.*
.*computerhope\.com*
.*developer\.arm\.com.*
.*guru3d\.com.*
.*inkscape\.org.*
.*intel\.com.*
.*itch\.io.*
.*khronos\.org.*
.*medium\.com.*
.*reddit\.com.*
.*inkscape.org.*
.*computerhope.com*
.*shadertoy\.com.*
# Don't check URLs from these websites due to frequent rate limits (error 429) or timeouts.
.*adobe\.com.*
.*developer\.apple\.com.*
.*flathub\.org.*
.*gamedevartisan\.com.*
.*github\.com.*
.*gnu\.org.*
.*loopit\.dk.*
.*meta\.com.*
.*nightly\.link.*
.*sourceforge\.io.*
# Not a valid URL with the GET method, which lychee always sends.