Skip to content

Commit bfa260d

Browse files
committed
Adds retry logic for link checking
Improves link checking reliability by adding retry mechanisms for temporary failures. Configures retry behavior with a maximum number of retries and a fallback delay. Removes the hardcoded `aliveStatusCodes` to leverage the retry logic instead of explicitly allowing 429 status codes.
1 parent 1b818ed commit bfa260d

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/markdown-link-check-config-for-repo.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,8 @@
3838
},
3939
"description": "Avoids 403s from GitHub docs"
4040
}
41-
]
41+
],
42+
"retryOn429": true,
43+
"retryCount": 3,
44+
"fallbackRetryDelay": "3s"
4245
}

.github/markdown-link-check-config.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,5 @@
2020
},
2121
"description": "Avoids 403s from GitHub docs"
2222
}
23-
],
24-
"aliveStatusCodes": [429, 200]
23+
]
2524
}

0 commit comments

Comments
 (0)