GitHub Actions: Check URLs using lychee (#1169)

This makes it possible to be aware of dead links and replace
them with other resources (such as archived versions) as
soon as possible.
This commit is contained in:
Hugo Locurcio
2025-10-02 09:33:27 +02:00
committed by GitHub
parent 57daa67c23
commit a0f59648f2
8 changed files with 76 additions and 10 deletions

30
.lycheeignore Normal file
View File

@@ -0,0 +1,30 @@
# Don't read Godot's own URL schemes as web URLs.
user:\/\/.*
res:\/\/.*
uid:\/\/.*
# Don't read WebSockets or TCP URLs as web URLs.
ws(s?):\/\/.*
tcp:\/\/.*
# Security checks prevent checking the URLs of these websites automatically,
# typically returning 403 errors.
.*asecuritysite\.com.*
.*intel\.com.*
.*reddit\.com.*
# Don't check URLs from these websites due to frequent rate limits (error 429) or timeouts.
.*adobe\.com.*
.*gamedevartisan\.com.*
.*github\.com.*
.*gnu\.org.*
.*loopit\.dk.*
.*meta\.com.*
.*sourceforge\.io.*
# Not a valid URL with the GET method, which lychee always sends.
# Mentioned in the class reference.
.*httpbin\.org\/post
# Class reference mentions `example.com/index.php` in an example, which is 404.
.*example\.com.*