From 5339115c4ccb8f7e8dd835fa58a9b2f601bf5eb9 Mon Sep 17 00:00:00 2001 From: Matt Dale <9760375+matthewdale@users.noreply.github.com> Date: Fri, 5 Sep 2025 09:43:59 -0700 Subject: [PATCH] Consider HTTP 429 a succcessful response in the Markdown link check. (#2191) --- .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: