Skip to content

Commit

Permalink
feat: add config file to retry on HTTP 429 status code (#1365)
Browse files Browse the repository at this point in the history
* add config file to retry on 429 - HTTP 429 error is to wait to send another request

* set fallbackRetryDelay to 15s

* update config file to match workflow file name
  • Loading branch information
RafilxTenfen authored Sep 9, 2022
1 parent b3a2e79 commit a9eb787
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/linkchecker.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"retryOn429": true,
"retryCount": 5,
"fallbackRetryDelay": "15s"
}
3 changes: 2 additions & 1 deletion .github/workflows/linkchecker.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Check Markdown links
on:
on:
pull_request:
paths: ["**.md"]
push:
Expand All @@ -17,3 +17,4 @@ jobs:
with:
check-modified-files-only: "yes"
base-branch: main
config-file: ".github/workflows/linkchecker.config.json"

0 comments on commit a9eb787

Please sign in to comment.