Skip to content

Commit 4d96015

Browse files
alcaeusmatthewdale
andauthored
Consider HTTP 429 a succcessful response in the Markdown link check. (#2201)
Co-authored-by: Matt Dale <[email protected]>
1 parent df31d0e commit 4d96015

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ repos:
4949
hooks:
5050
- id: markdown-link-check
5151
exclude: ^(vendor)
52+
# If the endpoint returns HTTP 429 (Too Many Requests), consider it a
53+
# successful check.
54+
args: ["-a 200,206,429"]
5255

5356
- repo: local
5457
hooks:

0 commit comments

Comments
 (0)