From 5b1080eab54ab9fcf5b40ccb6353b966f3d22d78 Mon Sep 17 00:00:00 2001 From: Wessel Verheij Date: Tue, 28 Jul 2026 01:59:56 +0200 Subject: [PATCH] ci: give the link check retries and a wider timeout The check failed on a branch whose links were all fine: four timeouts against contributor-covenant.org and zero errors. A third-party host having a slow minute should not be indistinguishable from a dead link. Retries and a 30s timeout absorb that. A link that is genuinely gone still fails the build, which is the only reason the check exists. Spec: GOV-R12 Signed-off-by: Wessel Verheij --- .github/workflows/hygiene.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/hygiene.yml b/.github/workflows/hygiene.yml index 3c85a28..80e7c7c 100644 --- a/.github/workflows/hygiene.yml +++ b/.github/workflows/hygiene.yml @@ -78,7 +78,11 @@ jobs: - name: lychee link check uses: lycheeverse/lychee-action@e7477775783ea5526144ba13e8db5eec57747ce8 # v2.9.0 with: - args: "--no-progress --accept 200,206,429 ." + # A slow third-party host failed this check on a green branch — + # four timeouts against contributor-covenant.org, zero errors. The + # retries and the wider timeout cover a host having a bad minute; + # a link that is genuinely gone still fails, which is the point. + args: "--no-progress --accept 200,206,429 --timeout 30 --max-retries 5 --retry-wait-time 3 ." fail: true markdown: