From 7cca4090aa061622b537abfb5a0fac9f8e33fcda Mon Sep 17 00:00:00 2001 From: Dmitry Anoshin Date: Wed, 4 Dec 2024 11:28:18 -0800 Subject: [PATCH] [CI] Do not validate pull request links There are too many of them so we always run into rate limiting --- .github/workflows/lychee.yml | 1 + .lychee.toml | 9 ++++----- 2 files changed, 5 insertions(+), 5 deletions(-) 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 ]