equipez/Run Bash Command with Options
Run Bash commands in CI. Optionally enforce a time limit and treat timeout as success. Supports Linux/macOS runners.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| timelimit | Time limit passed to (g)timeout (e.g., 300s, 45m, 2h). | yes | — |
| command | Command(s) to run (multiline supported). | yes | — |
| signal | Signal sent when the time limit is reached. | no | TERM |
| kill-after | Delay before SIGKILL after sending --signal (e.g., 30s). | no | 30s |
| working-directory | Working directory for running the command(s). | no | "" |
| install-coreutils | On macOS, install coreutils to provide gtimeout if missing. | no | true |
| quiet | If true, reduce log output. | no | false |
Outputs
| name | description |
|---|---|
| timed_out | true if the command hit the time limit (and was treated as success). |
| exit_code | The underlying command exit code (124 means timeout in coreutils semantics). |