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.
pull/6298/head
Jason Stirnaman 2025-08-19 08:43:45 -05:00
parent b510e6bac1
commit 116e4fe70a
2 changed files with 10 additions and 0 deletions

View File

@ -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_.*",

View File

@ -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",