Skip to content

Commit 3f739af

Browse files
authored
[CI] Do not validate pull request links (#5668)
There are too many of them so we always run into rate limiting
1 parent 9007c1e commit 3f739af

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/lychee.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
id: lychee
2424
uses: lycheeverse/[email protected]
2525
with:
26+
lycheeVersion: nightly # TODO: Change to stable once v0.17.1 is released, the version that includes a retry fix
2627
args: -v -n --config .lychee.toml './*.md' './**/*.md'
2728
fail: true
2829
env:

.lychee.toml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
max-concurrency = 20
2-
accept = [
3-
200,
4-
429,
5-
]
1+
max_concurrency = 20
62
timeout = 30
3+
max_retires = 5
4+
retry_wait_time = 30
75
exclude = [
86
"my.host",
97
"file://*",
@@ -24,4 +22,5 @@ exclude = [
2422
"https://self-service.isv.ci", # Failing with timeouts, not stable and still current according to https://github.com/cf-platform-eng/selfservice/blame/main/README.md#L3
2523
"https://github.com/signalfx/splunk-otel-collector/tree/main/internal/exporter/httpsinkexporter", # exporter was deleted
2624
"https://github.com/open-telemetry/opentelemetry-collector/tree/main/exporter/loggingexporter", # exporter was deleted
25+
"https://github.com/.*/(pull|issues)/[0-9]+", # We have too many PR and issues links in CHANGELOG.md that we allways run out of the rate limit
2726
]

0 commit comments

Comments
 (0)