forked from microsoft/agent-governance-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.lychee.toml
More file actions
41 lines (32 loc) · 952 Bytes
/
.lychee.toml
File metadata and controls
41 lines (32 loc) · 952 Bytes
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
36
37
38
39
40
41
# Configuration for lychee link checker
# https://lychee.cli.rs/configuration/
# General settings
max_concurrency = 32
timeout = 30
max_retries = 3
retry_wait = 5
# Accept these HTTP status codes as valid
accept = [200, 429]
# Exclude patterns for known false positives
exclude = [
# Placeholder / example URLs
"example\\.com",
"example\\.org",
"example\\.net",
# Localhost and private networks
"localhost",
"127\\.0\\.0\\.1",
"0\\.0\\.0\\.0",
# npm registry (frequently rate-limits CI)
"npmjs\\.com",
# PyPI (frequently rate-limits CI)
"pypi\\.org/project",
# Microsoft login / auth endpoints (require authentication)
"login\\.microsoftonline\\.com",
"portal\\.azure\\.com",
# GitHub special URLs that require authentication or don't resolve in CI
"github\\.com/.*/compare/",
"github\\.com/.*/releases/new",
]
# Exclude email addresses from checking
exclude_mail = true