Skip to content

Commit 4daf246

Browse files
os-zhuangclaude
andcommitted
ci(links): fix the stale lychee config key that kept the check disabled
Re-arming check-links surfaced why it was commented out in the first place: lychee rejects the config outright — `follow_redirects` is not a recognized key in the version the action pins, so the job died before checking a single link. Replaced with `max_redirects` (lychee follows redirects by default; this caps the chain). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent aa7025c commit 4daf246

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lychee.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ timeout = 30
1414
# Retry failed requests
1515
max_retries = 2
1616

17-
# Follow redirects
18-
follow_redirects = true
17+
# Follow redirects (lychee follows by default; this caps the chain)
18+
max_redirects = 5
1919

2020
# Check anchors/fragments in links
2121
include_fragments = false

0 commit comments

Comments
 (0)