ci: fix lychee link-checker failures
Update .lychee.toml to exclude the following patterns: - ARM domains (developer.arm.com, infocenter.arm.com) which return 403 Forbidden due to anti-bot protections in CI. - Local TCP addresses (192.168.1.10) which are unsupported by the link-checker tool. - The .lychee.toml file itself, to prevent the tool from recursively checking its own regex exclusion patterns as valid URLs. Signed-off-by: Saravanan D <saravanand@crusoe.ai>
This commit is contained in:
parent
3af9ac78a9
commit
9babad0114
1 changed files with 9 additions and 0 deletions
|
|
@ -1,5 +1,7 @@
|
|||
verbose = "info"
|
||||
|
||||
exclude_path = [".lychee.toml"]
|
||||
|
||||
exclude = [
|
||||
# Availability of links below should be manually verified.
|
||||
# Page for intel TDX support, returns 403 while querying.
|
||||
|
|
@ -16,6 +18,13 @@ exclude = [
|
|||
"\\$.*",
|
||||
# Exclude local files
|
||||
"file://.*",
|
||||
|
||||
# ARM documentation returns 403 Forbidden for automated CI checks.
|
||||
'^http://infocenter\.arm\.com',
|
||||
'^https://developer\.arm\.com',
|
||||
|
||||
# Ignore internal/unsupported protocols seen in logs
|
||||
'^tcp://192\.168\.1\.10',
|
||||
]
|
||||
|
||||
# Exclude loopback addresses
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue