From 9babad0114600608b46a959c0068b4ddcd812244 Mon Sep 17 00:00:00 2001 From: Saravanan D Date: Sat, 31 Jan 2026 11:49:26 +0000 Subject: [PATCH] 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 --- .lychee.toml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.lychee.toml b/.lychee.toml index 44517a781..fb267bbff 100644 --- a/.lychee.toml +++ b/.lychee.toml @@ -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