File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,9 @@ runner_org: no
83
83
# Labels to apply to the runner
84
84
runner_labels : []
85
85
86
+ # Group to add organization runner to
87
+ runner_group : " "
88
+
86
89
# GitHub Actions Runner repository (change it if you want to use custom Actions Runner fork)
87
90
runner_download_repository : " actions/runner"
88
91
Original file line number Diff line number Diff line change @@ -35,6 +35,9 @@ runner_org: no
35
35
# Labels to apply to the runner
36
36
runner_labels : []
37
37
38
+ # Group to add organization runner to
39
+ runner_group : " "
40
+
38
41
# GitHub Actions Runner repository (change it if you want to use custom Actions Runner fork)
39
42
runner_download_repository : " actions/runner"
40
43
Original file line number Diff line number Diff line change 110
110
- name : Register runner (if new installation) for organization
111
111
command :
112
112
" {{ runner_dir }}/./config.sh --url {{ github_url }}/{{ github_owner | default(github_account) }} \
113
- --token {{ registration.json.token }} --name {{ runner_name }} --labels {{ runner_labels | join(',') }} --unattended \
113
+ --token {{ registration.json.token }} --name {{ runner_name }} --labels {{ runner_labels | join(',') }} \
114
+ --runnergroup {{ runner_group }} --unattended \
114
115
{{ runner_extra_config_args }}"
115
116
args :
116
117
chdir : " {{ runner_dir }}"
138
139
- name : Replace registered runner for organization
139
140
command :
140
141
" {{ runner_dir }}/config.sh --url {{ github_url }}/{{ github_owner | default(github_account) }} \
141
- --token {{ registration.json.token }} --name {{ runner_name }} --labels {{ runner_labels | join(',') }} --unattended \
142
- {{ runner_extra_config_args }} --replace"
142
+ --token {{ registration.json.token }} --name {{ runner_name }} --labels {{ runner_labels | join(',') }} \
143
+ --runnergroup {{ runner_group }} --unattended {{ runner_extra_config_args }} --replace"
143
144
args :
144
145
chdir : " {{ runner_dir }}"
145
146
become : yes
You can’t perform that action at this time.
0 commit comments