mikehardy/Runner Availability Checker
Check for availability of self-hosted GitHub runners and fallback to GitHub-hosted runners if needed
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | GitHub token with repo and actions scope for querying runner information | yes | — |
| primary-runner | Comma-separated list of labels for the primary runner, e.g. self-hosted,linux | yes | — |
| fallback-runner | Name or labels of the fallback runner, e.g. ubuntu-latest | yes | — |
| organization | GitHub organization name to check for self-hosted runners (mutually exclusive with enterprise), if not supplied we will use user's personal runners | no | — |
| enterprise | GitHub enterprise name to check for self-hosted runners (mutually exclusive with organization), if not supplied we will use user's personal runners | no | — |
| primaries-required | Use the fallback runner if there are not at least this many primaries that are not busy | no | — |
| fallback-on-error | Use the fallback runner if the action has any type of error, for example missing or non-functional github-token | no | false |
Outputs
| name | description |
|---|---|
| use-runner | The runner to use, either the primary or the fallback runner, based on availability |