brandon-t/wait-for-check-run
Waits for a check-run to complete.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| github_token | GitHub token or secret | yes | — |
| check_names | A list of check-run names (formatted as a JSON array) | yes | — |
| statuses | A list of status types (formatted as a JSON array) | no | — |
| conclusions | A list of conclusions that must be satisfied for the job to succeed (formatted as a JSON array) | no | — |
| owner | Repository Owner | no | — |
| repo | Repository Name | no | — |
| ref | Commit hash, tag, or branch name | no | — |
| timeout | Total amount of time to wait for check-runs to be completed. | no | 300 |
| poll_interval | Time between requests (checks every `poll_interval` milliseconds for the check-run status). | — | 10 |
Outputs
| name | description |
|---|---|
| result | JSON array of check-run information [{"id": 1234, "name": "build", "status": "completed|failed", "conclusion": "success|failure"}]. |
| ids | List of check-run IDs [1234, 5678]. |
| names | List of check-run names ["check_name_1", "check_name_2"]. |
| statuses | List of check-run statuses ["in_progress", "completed", "queued"]. |
| conclusions | List of checkrun conclusions ["cancelled", "success", "failure"]. |