step-security/action turnstyle
A GitHub Action for serializing workflow runs
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| token | GitHub access token | no | ${{ github.token }} |
| poll-interval-seconds | Number of seconds to wait in between checks for previous run completion (defaults to 60) | — | — |
| continue-after-seconds | Maximum number of seconds to wait before moving forward (unbound by default). Mutually exclusive with abort-after-seconds | — | — |
| abort-after-seconds | Maximum number of seconds to wait before failing the step (unbound by default). Mutually exclusive with continue-after-seconds | — | — |
| same-branch-only | Only wait on other runs from the same branch (defaults to true) | — | — |
| branch | Branch name to use for same-branch filtering (defaults to the current branch) | — | — |
| job-to-wait-for | Name of the workflow run's job to wait for (unbound by default) | — | — |
| step-to-wait-for | Name of the job's step to wait for (unbound by default). Requires job-to-wait-for to be set | — | — |
| initial-wait-seconds | Total elapsed seconds within which period the action will refresh the list of current runs, if no runs were found in the first poll (0 by default, ie doesn't retry) | — | — |
| queue-name | Custom name for grouping runs by the value if not specified will take the workflow name (unbound by default) | — | — |
| retries | Number of times to retry GitHub API requests that fail with a transient 5xx error, using exponential backoff (0 by default, ie no retries) | — | 0 |
Outputs
| name | description |
|---|---|
| force_continued | True if continue-after-seconds is used and the step using turnstyle continued. False otherwise. |
| previous_run_id | The ID of the previous workflow run that Turnstyle waited on, if one was found. |
| previous_run_url | The URL of the previous workflow run that Turnstyle waited on, if one was found. |