diff --git a/.github/workflows/lychee.yml b/.github/workflows/lychee.yml index 3e87ee106f..2e199674a6 100644 --- a/.github/workflows/lychee.yml +++ b/.github/workflows/lychee.yml @@ -23,6 +23,7 @@ jobs: id: lychee uses: lycheeverse/lychee-action@v2.1.0 with: + lycheeVersion: nightly # TODO: Change to stable once v0.17.1 is released, the version that includes a retry fix args: -v -n --config .lychee.toml './*.md' './**/*.md' fail: true env: diff --git a/.lychee.toml b/.lychee.toml index 28754cbb30..2d857b83d1 100644 --- a/.lychee.toml +++ b/.lychee.toml @@ -1,9 +1,7 @@ -max-concurrency = 20 -accept = [ - 200, - 429, -] +max_concurrency = 20 timeout = 30 +max_retires = 5 +retry_wait_time = 30 exclude = [ "my.host", "file://*", @@ -24,4 +22,5 @@ exclude = [ "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 "https://github.com/signalfx/splunk-otel-collector/tree/main/internal/exporter/httpsinkexporter", # exporter was deleted "https://github.com/open-telemetry/opentelemetry-collector/tree/main/exporter/loggingexporter", # exporter was deleted + "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 ]