File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -111,13 +111,16 @@ repos:
111111 name : lychee (authored documentation)
112112 entry : python ./ci/tools/run_lychee.py
113113 language : python
114+ # Update this shared pin manually until Dependabot releases support for
115+ # local-hook dependencies: https://github.com/dependabot/dependabot-core/issues/15489
116+ # Once supported, add lychee-bin to the allowlist in .github/dependabot.yml.
114117 additional_dependencies : &lychee_dependencies
115118 - lychee-bin==0.24.2
116119 types : [text]
117120 require_serial : true
118121 args :
119122 - --cache
120- - --max-cache-age=1d
123+ - --max-cache-age=3d
121124 - --max-concurrency=4
122125 - --max-retries=3
123126 - --no-progress
@@ -135,7 +138,7 @@ repos:
135138 always_run : true
136139 args :
137140 - --cache
138- - --max-cache-age=1d
141+ - --max-cache-age=3d
139142 - --max-concurrency=16
140143 - --host-concurrency=2
141144 - --host-request-interval=250ms
Original file line number Diff line number Diff line change @@ -92,8 +92,9 @@ fragments. Only the URL-result file is shared across operating systems;
9292pre-commit's installed environments retain their OS/Python-specific caches.
9393
9494Successful external checks retain their original timestamps and expire after
95- one day. Failed URLs are not persisted, and filesystem targets are checked
96- afresh. The rendered hook uses its own cache directory, selected by
95+ three days, allowing reuse when a nightly refresh is missed. Nightly refreshes
96+ still check links afresh. Failed URLs are not persisted, and filesystem targets
97+ are checked afresh. The rendered hook uses its own cache directory, selected by
9798` LYCHEE_CACHE_DIR ` (default ` .lychee-rendered ` ), so its fragment-aware results
9899cannot mix with authored results in the checkout's ` .lycheecache ` . Per-pass
99100JSON reports and a Markdown summary are retained as CI artifacts.
You can’t perform that action at this time.
0 commit comments