From 4d960156b98d49d2e47801529607d841deee416e Mon Sep 17 00:00:00 2001 From: Andreas Braun Date: Thu, 25 Sep 2025 17:38:23 +0200 Subject: [PATCH] Consider HTTP 429 a succcessful response in the Markdown link check. (#2201) Co-authored-by: Matt Dale <9760375+matthewdale@users.noreply.github.com> --- .pre-commit-config.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 571868de35..d69904f424 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -49,6 +49,9 @@ repos: hooks: - id: markdown-link-check exclude: ^(vendor) + # If the endpoint returns HTTP 429 (Too Many Requests), consider it a + # successful check. + args: ["-a 200,206,429"] - repo: local hooks: