Skip to content

Commit f248dff

Browse files
Robert Lukoshkaclaude
andcommitted
Fix the lychee config so the link check actually runs
exclude_mail is not a lychee key; the option is include_mail. Accepted status codes already come from the workflow's --accept flag. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 86463df commit f248dff

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

‎lychee.toml‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ max_redirects = 5
44
max_retries = 2
55
timeout = 20
66

7-
# Some hosts rate-limit or block CI user agents; treat those as reachable.
8-
accept = [200, 206, 429]
7+
# Accepted status codes are passed on the command line in the workflow, because
8+
# some hosts rate-limit CI user agents and a 429 is not a broken link.
99

1010
exclude = [
1111
# Illustrative URLs inside sample responses — deliberately not real.
@@ -28,4 +28,5 @@ exclude = [
2828
"^https://.*\\.linkedin\\.com",
2929
]
3030

31-
exclude_mail = true
31+
# Don't try to deliver to founders@stormy.ai on every CI run.
32+
include_mail = false

0 commit comments

Comments
 (0)