akitorahayashi/retry
Retry one command with timeout and retry policy controls
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| command | Command to execute for each attempt | yes | — |
| max_attempts | Maximum number of attempts before stopping | yes | — |
| shell | Shell executable used to run the command on Linux runners | no | bash |
| timeout_seconds | Per-attempt timeout in seconds | no | — |
| retry_delay_seconds | Default delay in seconds before the next retry attempt | no | 0 |
| retry_delay_schedule_seconds | Comma-separated per-retry delay schedule in seconds | no | — |
| retry_on | Failure class to retry (any, error, timeout) | no | any |
| retry_on_exit_codes | Comma-separated exit codes that are eligible for retry | no | — |
| continue_on_error | Keep the step successful when all attempts fail | no | false |
| termination_grace_seconds | Grace period in seconds between graceful and forced termination | no | 5 |
Outputs
| name | description |
|---|---|
| attempts | Number of attempts that executed |
| final_exit_code | Final command exit code when available |
| final_outcome | Final attempt outcome (success, error, timeout) |
| succeeded | Whether the command eventually succeeded |
| final_stdout | Stdout emitted by the final attempt |