Pin lychee link checker version (#2090)

Co-authored-by: Joao Grassi <5938087+joaopgrassi@users.noreply.github.com>
This commit is contained in:
Trask Stalnaker 2025-04-15 06:56:01 -07:00 committed by GitHub
parent 388f7eb9c1
commit 8e60862e0b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 3 deletions

View File

@ -8,11 +8,15 @@ exclude = [
"^https://github.com/open-telemetry/semantic-conventions/(pull|issues)/\\d+$",
"^https://github.com/open-telemetry/opentelemetry-specification/(pull|issues)/\\d+$",
# TODO (lmolkova) treat timeout as not a failure?
"^https://www.intersystems.com"
"^https://www.intersystems.com",
"^https://gcc.gnu.org"
]
# better to be safe and avoid failures
max_retries = 6
# better to be safe and avoid failures
timeout = 60
# insecure is currently needed for https://osi-model.com
insecure = true

View File

@ -121,9 +121,10 @@ normalized-link-check:
.PHONY: markdown-link-check
markdown-link-check: normalized-link-check
# pinning lychee to 0.18.1
$(DOCKER_RUN) --rm \
--mount 'type=bind,source=$(PWD),target=/home/repo' \
lycheeverse/lychee \
lycheeverse/lychee:sha-2aa22f8 \
--config home/repo/.lychee.toml \
--root-dir /home/repo \
--verbose \
@ -132,9 +133,10 @@ markdown-link-check: normalized-link-check
.PHONY: markdown-link-check-changelog-preview
markdown-link-check-changelog-preview:
# pinning lychee to 0.18.1
$(DOCKER_RUN) --rm \
--mount 'type=bind,source=$(PWD),target=/home/repo' \
lycheeverse/lychee \
lycheeverse/lychee:sha-2aa22f8 \
--config /home/repo/.lychee.toml \
--root-dir /home/repo \
--verbose \