Skip to content

Commit d5ab4bd

Browse files
authored
chore: ignore 429 (too busy) responses from github w/ markdown link checker (#1553)
1 parent fad91d9 commit d5ab4bd

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"retryOn429": true,
3+
"retryCount": 5,
4+
"fallbackRetryDelay": "30s"
5+
}

.github/workflows/markdown_linter.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,13 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
15-
- uses: gaurav-nelson/github-action-markdown-link-check@5c5dfc0ac2e225883c0e5f03a85311ec2830d368
15+
with:
16+
fetch-depth: 0
17+
# sadly, markdown-link-check has a bug where it doesn't handle config files
18+
# so we pin to a version that doesn't have that bug
19+
- run: |
20+
npm install -g markdown-link-check@3.14.2
21+
find . -name "*.md" -not -path './.git/*' -not -path './node_modules/*' -print0 | xargs -0 -n1 markdown-link-check -c .github/markdown-link-check-config.json
1622
markdown_lint:
1723
runs-on: ubuntu-latest
1824
steps:

0 commit comments

Comments
 (0)