From 8a2e6447a3089ab0cfba5447eb46d9c348a40612 Mon Sep 17 00:00:00 2001 From: kingchenc Date: Wed, 8 Jul 2026 17:26:55 +0200 Subject: [PATCH] ci(links): exclude GitHub stargazers/network-members from link check GitHub returns 404 for /stargazers and /network/members to anonymous clients (anti-scraping); the README social-footer badges link there, so the lychee link check (the non-blocking ci.yml job and the standalone links.yml, both using this config) flagged them as dead. The pages are live in a browser. Exclude them. --- lychee.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lychee.toml b/lychee.toml index 949a5b51..765be782 100644 --- a/lychee.toml +++ b/lychee.toml @@ -17,6 +17,9 @@ exclude_all_private = true # check time): # - crates.io and npmjs.com return 403/404 to non-browser requests # (anti-scraping); the package pages are live in a browser. +# - GitHub serves 404 for /stargazers and /network/members to anonymous clients +# (anti-scraping). The README social-footer badges link there; the pages are +# live in a browser. # - the CHANGELOG version-compare links point at the release tag that is created # *after* the bump is merged. ci.yml runs on push/PR (never on the tag), so the # tag never exists when lychee runs and the compare URL 404s. One pattern @@ -25,4 +28,6 @@ exclude = [ 'crates\.io/crates/', 'www\.npmjs\.com/package/', 'github\.com/wickra-lib/wickra/compare/', + 'github\.com/wickra-lib/wickra/stargazers', + 'github\.com/wickra-lib/wickra/network/members', ]