swevo/PollyAction
Retry any CI step with exponential backoff. Free, zero-config, MIT licensed.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| command | The shell command to run and retry on failure. | yes | — |
| max-attempts | Maximum number of attempts before giving up. | no | 3 |
| backoff-seconds | Initial delay (in seconds) before the first retry. | no | 2 |
| backoff-multiplier | Multiplier applied to the delay after each failed attempt (exponential backoff). | no | 2 |
| max-backoff-seconds | Upper bound (in seconds) on the delay between retries. | no | 60 |
| timeout-minutes | Optional per-attempt timeout in minutes. If an attempt exceeds this, it is treated as a failure and retried. | no | 0 |
| shell | Shell to run the command in (bash, pwsh, sh, cmd). | no | bash |
| working-directory | Working directory to run the command in. | no | . |
Outputs
| name | description |
|---|---|
| attempts | Number of attempts actually made. |
| succeeded | "true" if the command eventually succeeded, "false" otherwise. |