-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlychee.toml
More file actions
35 lines (27 loc) · 1.14 KB
/
Copy pathlychee.toml
File metadata and controls
35 lines (27 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
exclude_path = [
"node_modules",
"artifacts",
"services/qyl.dashboard/coverage",
"services/qyl.dashboard/playwright-report",
]
# Markdown only. Vite HTML (services/qyl.dashboard/index.html) references
# runtime-served paths like /favicon.svg that do not exist statically.
extensions = ["md"]
# localhost / private-range URLs are runtime examples (collector ports,
# OTLP endpoints), not web links.
exclude_all_private = true
include_fragments = "anchor-only"
timeout = 20
max_retries = 3
retry_wait_time = 2
# Some CDNs (e.g. opentelemetry.io) reset connections from non-browser
# user agents; a browser UA keeps genuine links from flaking the build.
user_agent = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36"
# 429 = rate-limited, not dead. Everything else outside 2xx fails the check.
accept = ["200..=299", "429"]
# opentelemetry.io's CDN intermittently resets connections from GitHub
# Actions IPs even with a browser UA (same link set passes and fails across
# runs). The spec URLs are stable; excluding beats a flaky red check.
exclude = [
'^https?://opentelemetry\.io',
]