Skip to content

Commit

Permalink
Add retry plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Tomlinson committed Sep 23, 2022
1 parent c713e51 commit 355d895
Show file tree
Hide file tree
Showing 5 changed files with 7,952 additions and 6,850 deletions.
11 changes: 10 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,17 @@ inputs:
previews:
description: A comma-separated list of API previews to accept
result-encoding:
description: Either "string" or "json" (default "json")—how the result will be encoded
description: Either "string" or "json" (default "json")—how the result will be encoded
default: json
retries:
description: "The number of times to retry a request"
default: "0"
retry-after:
description: "The number of seconds between retries"
default: "0"
do-not-retry:
description: "A comma separated list of status codes that will NOT be retried. Example: '400,500'"
default: ""
outputs:
result:
description: The return value of the script, stringified with `JSON.stringify`
Expand Down
Loading

0 comments on commit 355d895

Please sign in to comment.