Skip to content

Commit 8e60862

Browse files
traskjoaopgrassi
andauthored
Pin lychee link checker version (open-telemetry#2090)
Co-authored-by: Joao Grassi <[email protected]>
1 parent 388f7eb commit 8e60862

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.lychee.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,15 @@ exclude = [
88
"^https://github.com/open-telemetry/semantic-conventions/(pull|issues)/\\d+$",
99
"^https://github.com/open-telemetry/opentelemetry-specification/(pull|issues)/\\d+$",
1010
# TODO (lmolkova) treat timeout as not a failure?
11-
"^https://www.intersystems.com"
11+
"^https://www.intersystems.com",
12+
"^https://gcc.gnu.org"
1213
]
1314

1415
# better to be safe and avoid failures
1516
max_retries = 6
1617

18+
# better to be safe and avoid failures
19+
timeout = 60
20+
1721
# insecure is currently needed for https://osi-model.com
1822
insecure = true

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,10 @@ normalized-link-check:
121121

122122
.PHONY: markdown-link-check
123123
markdown-link-check: normalized-link-check
124+
# pinning lychee to 0.18.1
124125
$(DOCKER_RUN) --rm \
125126
--mount 'type=bind,source=$(PWD),target=/home/repo' \
126-
lycheeverse/lychee \
127+
lycheeverse/lychee:sha-2aa22f8 \
127128
--config home/repo/.lychee.toml \
128129
--root-dir /home/repo \
129130
--verbose \
@@ -132,9 +133,10 @@ markdown-link-check: normalized-link-check
132133

133134
.PHONY: markdown-link-check-changelog-preview
134135
markdown-link-check-changelog-preview:
136+
# pinning lychee to 0.18.1
135137
$(DOCKER_RUN) --rm \
136138
--mount 'type=bind,source=$(PWD),target=/home/repo' \
137-
lycheeverse/lychee \
139+
lycheeverse/lychee:sha-2aa22f8 \
138140
--config /home/repo/.lychee.toml \
139141
--root-dir /home/repo \
140142
--verbose \

0 commit comments

Comments
 (0)