deepinsight-io/Wait For Check
Wait for another GitHub check to complete
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| token | The GitHub token to use for making API requests. | yes | — |
| checkName | The name of the GitHub check/workflow to wait for. For example, `build` or `deploy`. Either this xor "workflowName" must be provided. It can also be a list of check names, in the form of a newline-separated list. | — | — |
| workflowName | The name of the GitHub workflow to wait for. For example, `build` or `deploy`. Either this xor "checkName" must be provided. It can also be a list of workflow names, in the form of a newline-separated list or comma-separated list between square brackets. | — | — |
| ref | The Git ref of the commit you want to poll for a passing check/workflow. By default the PR head if present; otherwise the current sha. | — | — |
| successConclusions | A list of conlusions of the check/workflow run that will result in this action run succeeding. Possible options are: success|failure|neutral|cancelled|skipped|timed_out|action_required|not_found optionally wrapped by `anyOf(...)` If wrapped by `anyOf(...)`, then if any check of workflow conclusion matches any of the provided options, `success` is concluded. If not wrapped, then all check or workflow conclusions must match the provided options to conclude. | — | success|skipped|not_found |
| repo | The name of the GitHub repository you want to poll for a passing check/workflow. | — | — |
| owner | The owner of the GitHub repository you want to poll for a passing check/workflow. | — | — |
| timeoutSeconds | The number of seconds to wait for per check/workflow to complete. | — | 600 |
| intervalSeconds | The number of seconds to wait before each poll of the GitHub API. | — | 10 |
| warmupSeconds | The number of seconds to poll until a check/workflow should be found | — | 0 |
| cancelOnFailure | If true, when the conclusion isn't any of the `successConclusions`, the current workflow is cancelled instead of failed. | — | false |
Outputs
no outputs