mirror of
https://github.com/actions/github-script.git
synced 2026-04-07 14:49:25 +00:00
Add retry plugin
This commit is contained in:
parent
c713e510db
commit
355d8955d8
5 changed files with 2551 additions and 1449 deletions
11
action.yml
11
action.yml
|
|
@ -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`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue