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: