mirror of
https://github.com/actions/github-script.git
synced 2025-12-25 23:23:07 +00:00
Add retry plugin
This commit is contained in:
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`
|
||||
|
||||
Reference in New Issue
Block a user