generated from actions/javascript-action
-
Notifications
You must be signed in to change notification settings - Fork 6
/
action.yml
22 lines (22 loc) · 771 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
name: 'Check Runner Availability'
description: 'Check for availability of self-hosted GitHub runners and fallback to GitHub-hosted runners if needed'
author: '@jimmygchen'
branding:
icon: activity
color: blue
inputs:
github-token:
description: 'GitHub token with repo and actions scope for querying runner information'
required: true
primary-runner:
description: 'Comma-separated list of labels for the primary runner, e.g. self-hosted,linux'
required: true
fallback-runner:
description: 'Name or labels of the fallback runner, e.g. ubuntu-latest'
required: true
outputs:
use-runner:
description: 'The runner to use, either the primary or the fallback runner, based on availability'
runs:
using: 'node20'
main: 'dist/index.js'