From 117881adfe22305811d08b37ce4169df5647d4e6 Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Mon, 12 May 2025 12:42:37 +1000 Subject: [PATCH] ci: reduce link checker concurrency (#9076) Our link checker `lychee` doesn't appear to de-duplicate requests to the same URL which causes 429 errors with GitHub. To workaround this, we reduce the concurrency to 1 and activate `lychee`'s cache. This cache is just a file on disk. We don't need to actually save this in GitHub actions' cache because all we want is for lychee to not make a request to same URL again in the same session. Related: https://github.com/lycheeverse/lychee-action/issues/289 --- .github/workflows/website-links.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/website-links.yml b/.github/workflows/website-links.yml index 171056ec0..208ba4f9e 100644 --- a/.github/workflows/website-links.yml +++ b/.github/workflows/website-links.yml @@ -18,7 +18,7 @@ jobs: uses: lycheeverse/lychee-action@1d97d84f0bc547f7b25f4c2170d87d810dc2fb2c # v2.4.0 with: fail: false - args: --verbose --no-progress --exclude-all-private --base https://firezone.dev . + args: --verbose --no-progress --exclude-all-private --cache --cache-exclude-status 400..599 --max-concurrency 1 --retry-wait-time 60 --base https://firezone.dev . workingDirectory: website - name: Create Issue From File