File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 6
6
amount_of_runners :
7
7
description : ' Amount of runners to set up'
8
8
required : true
9
+ default : 1
9
10
runner_scope :
10
11
type : choice
11
12
required : true
12
13
description : Scope of the runner. On personal accounts, only "repo-level" works
13
14
options :
14
15
- org-level
15
16
- repo-level
17
+ default : repo-level
16
18
runner_org :
17
19
type : string
18
- required : true
19
- description : Organization or personal account to deploy the runner to
20
+ required : false
21
+ description : Organization or personal account to deploy the runner to (defaults to the repository owner)
20
22
runner_repo :
21
23
type : string
22
24
required : false
23
- description : Repo to deploy the runner to. Only needed if runner_scope is set to "repo-level"
25
+ description : Repo to deploy the runner to. Only needed if runner_scope is set to "repo-level" (defaults to current repository)
24
26
25
27
env :
26
- ACTIONS_RUNNER_ORG : " ${{ github.event.inputs.runner_org }}"
27
- ACTIONS_RUNNER_REPO : " ${{ github.event.inputs.runner_repo }}"
28
+ ACTIONS_RUNNER_ORG : " ${{ github.event.inputs.runner_org || github.repository_owner }}"
29
+ ACTIONS_RUNNER_REPO : " ${{ github.event.inputs.runner_repo || github.event.repository.name }}"
28
30
# This has to be a public URL that the VM can access after creation
29
31
POST_DEPLOYMENT_SCRIPT_URL : https://raw.githubusercontent.com/${{ github.repository }}/${{ github.ref_name }}/azure-self-hosted-runners/post-deployment-script.ps1
30
32
You can’t perform that action at this time.
0 commit comments