klothoplatform/Retry loop
Runs a given action using bash, but within a retry.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Jan 19, 2023
- License
- Apache 2.0
Pinned Snippet
uses: klothoplatform/gh-action-retry@f20cf07ce44cfcdc51a971ee02e0f64b9d830f62 # v1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| script | The bash script to run in a retry | yes | — |
| max-attempts | How many times to try the script before failing. | no | 5 |
| sleep-seconds | How long to sleep between attempts. | no | 0 |
| description | A brief description of this step. Used in error messages. | no | Script |
| working-directory | If specified, run the script from this directory. | — | . |
| bash-options | "set" options for bash | — | -euo pipefail |
Outputs
no outputs