mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
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
This commit is contained in:
2
.github/workflows/website-links.yml
vendored
2
.github/workflows/website-links.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user