mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-12-02 13:32:43 -05:00
Ref: https://github.com/FreshRSS/FreshRSS/pull/9209#issuecomment-6534445300 Only checks modified or added URLs in PRs to reduce noise. The workflow still continues to scan the entire repo for push and cron events. Tested working in a fork PR.
48 lines
1.2 KiB
TOML
48 lines
1.2 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 (markup/config)
|
|
'(^|/)index\.html$',
|
|
'(^|/)\.github/ISSUE_TEMPLATE/feed-report-form\.yml$',
|
|
|
|
# Files (PHPUnit tests)
|
|
'(^|/)tests/app/Utils/httpUtilTest\.php$',
|
|
|
|
# Directories
|
|
'(^|/)data/(cache|users|favicons)($|/)',
|
|
'(^|/)lib/(phpmailer|simplepie|phpgt|marienfressinaud)($|/)',
|
|
'(^|/)docs/(_includes|_layouts|i18n)($|/)',
|
|
'(^|/)p/scripts/vendor($|/)'
|
|
]
|
|
|