Commit e94cd2f
Fix markdown link checker to properly retry on transient errors
The previous commit added an invalid 'retry' configuration object that is not
supported by markdown-link-check, which only retries on HTTP 429 (rate limiting).
This commit implements proper retry logic by:
1. Wrapping the markdown-link-check action with Wandalen/wretry.action
2. Configuring 3 retry attempts with 10-second delays between attempts
3. Removing the unsupported 'retry' configuration object from the JSON config
4. Increasing retryCount to 5 for 429 rate limit handling
This approach will retry the entire link check operation when it fails due to
transient errors like 502 Bad Gateway, while maintaining the existing 429
retry configuration for rate limiting.
Impact on CI time: Each retry adds ~10 seconds, so worst case is +20 seconds
for a completely failing run (which would fail anyway without retries).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 3516576 commit e94cd2f
File tree
2 files changed
+15
-16
lines changed- .github
- workflows
2 files changed
+15
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
| 46 | + | |
52 | 47 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
| 26 | + | |
| 27 | + | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
0 commit comments