From 116e4fe70a20e7b6267d8dd370378e1bc8d275fc Mon Sep 17 00:00:00 2001 From: Jason Stirnaman Date: Tue, 19 Aug 2025 08:43:45 -0500 Subject: [PATCH] config(link-checker): exclude StackExchange network URLs Add exclusion patterns for StackExchange sites to both production and default link-checker configurations: - *.stackexchange.com - stackoverflow.com - *.stackoverflow.com These sites often block automated requests/bots, causing false positive link validation failures in CI environments. --- .ci/link-checker/default.lycherc.toml | 5 +++++ .ci/link-checker/production.lycherc.toml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/.ci/link-checker/default.lycherc.toml b/.ci/link-checker/default.lycherc.toml index 22f97a0f9..259efd76a 100644 --- a/.ci/link-checker/default.lycherc.toml +++ b/.ci/link-checker/default.lycherc.toml @@ -50,6 +50,11 @@ exclude = [ # detection) "^https?://github\\.com", + # StackExchange network URLs (often block automated requests) + "^https?://.*\\.stackexchange\\.com", + "^https?://stackoverflow\\.com", + "^https?://.*\\.stackoverflow\\.com", + # Common documentation placeholders "YOUR_.*", "REPLACE_.*", diff --git a/.ci/link-checker/production.lycherc.toml b/.ci/link-checker/production.lycherc.toml index 9b8be5aa3..f8410208c 100644 --- a/.ci/link-checker/production.lycherc.toml +++ b/.ci/link-checker/production.lycherc.toml @@ -58,6 +58,11 @@ exclude = [ "^https?://reddit\\.com", "^https?://.*\\.reddit\\.com", + # StackExchange network URLs (often block automated requests) + "^https?://.*\\.stackexchange\\.com", + "^https?://stackoverflow\\.com", + "^https?://.*\\.stackoverflow\\.com", + # InfluxData support URLs (certificate/SSL issues in CI) "^https?://support\\.influxdata\\.com",