Skip to content

Commit bd8b13d

Browse files
authored
Retry Markdown link checks on HTTP 429. (#2181)
1 parent 39e2c14 commit bd8b13d

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)