Skip to content

Commit 355d895

Browse files
committed
Add retry plugin
1 parent c713e51 commit 355d895

File tree

5 files changed

+7952
-6850
lines changed

5 files changed

+7952
-6850
lines changed

action.yml

+10-1
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,17 @@ inputs:
2121
previews:
2222
description: A comma-separated list of API previews to accept
2323
result-encoding:
24-
description: Either "string" or "json" (default "json")—how the result will be encoded
24+
description: Either "string" or "json" (default "json")—how the result will be encoded
2525
default: json
26+
retries:
27+
description: "The number of times to retry a request"
28+
default: "0"
29+
retry-after:
30+
description: "The number of seconds between retries"
31+
default: "0"
32+
do-not-retry:
33+
description: "A comma separated list of status codes that will NOT be retried. Example: '400,500'"
34+
default: ""
2635
outputs:
2736
result:
2837
description: The return value of the script, stringified with `JSON.stringify`

0 commit comments

Comments
 (0)