From ae453007c1d40e32206516354fde5cc006caebf3 Mon Sep 17 00:00:00 2001 From: Matt Dale <9760375+matthewdale@users.noreply.github.com> Date: Thu, 4 Sep 2025 15:40:03 -0700 Subject: [PATCH] Consider HTTP 429 a succcessful response in the Markdown link check. --- .pre-commit-config.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8368e9e0d8..ec4bbb529d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -49,8 +49,9 @@ repos: hooks: - id: markdown-link-check exclude: ^(vendor) - # Retry when the endpoint returns HTTP 429 (Too Many Requests) - args: [-r] + # If the endpoint returns HTTP 429 (Too Many Requests), consider it a + # successful check. + args: ["-a 200,206,429"] - repo: local hooks: