From c5395e575958f50eda47a31bbb8ed36cb3027d0f Mon Sep 17 00:00:00 2001 From: Arseniy Obolenskiy Date: Sun, 8 Mar 2026 15:49:38 +0100 Subject: [PATCH] Make link-check action more robust --- .github/workflows/pre-commit.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 4782c704..0ef4a601 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -29,6 +29,15 @@ jobs: with: fail: true failIfEmpty: false + args: >- + --max-retries 5 + --retry-wait-time 2 + --timeout 30 + --host-concurrency 3 + --host-request-interval 200ms + './**/*.md' + './**/*.html' + './**/*.rst' pre-commit: needs: check-file-sizes