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: