benjaminmichaelis/Determine Runner for Jobs
Checks the status of self-hosted runners and selects a runner based on availability.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| primary-runner | The labels of the self-hosted runner. | yes | — |
| fallback-runner | The runner to use if the primary runner is not available. | yes | — |
| github-token | The GitHub token. | yes | — |
| min-available-runners | The minimum number of available runners to select the primary runner. | no | 1 |
Outputs
| name | description |
|---|---|
| runner | Runner labels as a comma-delimited string (backward compatible). |
| runner-json | Runner labels as a JSON array for multi-label runs-on usage via fromJSON(...). |