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
parent
b510e6bac1
commit
116e4fe70a
|
@ -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_.*",
|
||||
|
|
|
@ -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",
|
||||
|
||||
|
|
Loading…
Reference in New Issue