Files
Inverle df96f25fd4 Accept timeouts during lychee CI runs (#9511)
This run would have succeeded for example, if it weren't for `accept_timeouts = false` being set in the config: https://github.com/FreshRSS/FreshRSS/actions/runs/40368577800#summary-121732842378

At the beginning of the original PR (https://github.com/FreshRSS/FreshRSS/pull/9209) I already had `accept_timeouts` set to `true`, but changed my mind later. (it doesn't seem worth it though)
2026-10-26 20:22:58 +01:00

45 lines
1.1 KiB
TOML

# https://lychee.cli.rs/guides/config/
verbose = "warn"
no_progress = true
cache = true
max_cache_age = "1d"
accept = "200..=204, 302, 307, 429"
cache_exclude_status = "500..=599, 403, 429"
require_https = true
exclude_all_private = true
max_concurrency = 50
accept_timeouts = true # To reduce noise, since timeouts occur too often during CI runs
timeout = 15
max_retries = 3
retry_wait_time = 1
extensions = [
"md", "html", "css", "js", "php", "phtml", "sh", "json", "jsonc", "xml", "yml", "yaml", "toml", "neon", "dist", "conf", "txt",
# Dotfiles
"htaccess", "editorconfig", "gitattributes", "gitignore", "jshintignore", "jshintrc", "stylelintignore", "dockerignore"
]
# For extensionless files
default_extension = "txt"
include_verbatim = true
hidden = true
exclude_path = [
# Files
'(^|/)index\.html$',
'(^|/)\.github/ISSUE_TEMPLATE/feed-report-form\.yml$',
# Directories
'(^|/)data/(cache|users|favicons)($|/)',
'(^|/)lib/(phpmailer|simplepie|phpgt|marienfressinaud)($|/)',
'(^|/)docs/(_includes|_layouts|i18n)($|/)',
'(^|/)p/scripts/vendor($|/)'
]