borealin/Pick Runner Action
Intelligently select between self-hosted and GitHub-hosted runners based on availability and usage limits
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| self-hosted-tags | Labels for self-hosted runners (comma-separated, e.g., "linux,self-hosted") | yes | — |
| github-hosted-tags | Labels for GitHub-hosted runners (comma-separated, e.g., "ubuntu-latest") | yes | — |
| github-hosted-limit | Minimum remaining minutes threshold for GitHub-hosted runners | yes | 1000 |
| github-token | GitHub token with org admin permissions | yes | — |
| mutex-key | Optional mutex key for exclusive access to self-hosted runners. If provided, only one workflow with the same key can use self-hosted runners at a time. | no | — |
Outputs
| name | description |
|---|---|
| selected-runner | The selected runner labels |
| runner-type | Type of runner selected (self-hosted or github-hosted) |
| reason | Reason for the selection |