Skip to content

Commit 106cff3

Browse files
authored
Retry Markdown link checks on HTTP 429 (v1) (#2186)
1 parent d406474 commit 106cff3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ repos:
4949
hooks:
5050
- id: markdown-link-check
5151
exclude: ^(vendor)
52+
# Retry when the endpoint returns HTTP 429 (Too Many Requests)
53+
args: [-r]
5254

5355
- repo: local
5456
hooks:

0 commit comments

Comments
 (0)