File tree Expand file tree Collapse file tree 2 files changed +15
-6
lines changed Expand file tree Collapse file tree 2 files changed +15
-6
lines changed Original file line number Diff line number Diff line change 2
2
- name : Get registration token (RUN ONCE)
3
3
uri :
4
4
url : " https://api.github.com/repos/{{ github_owner | default(github_account) }}/{{ github_repo }}/actions/runners/registration-token"
5
- user : " "
6
- password : " {{ access_token }}"
5
+ # user: ""
6
+ # password: "{{ access_token }}"
7
+ headers :
8
+ api_keys : " {{ access_token }}"
9
+ Accept : application/vnd.github.v3+json""
7
10
method : POST
8
11
status_code : 201
9
12
force_basic_auth : yes
16
19
- name : Check currently registered runners (RUN ONCE)
17
20
uri :
18
21
url : " https://api.github.com/repos/{{ github_owner | default(github_account) }}/{{ github_repo }}/actions/runners"
19
- user : " "
20
- password : " {{ access_token }}"
22
+ # user: ""
23
+ # password: "{{ access_token }}"
24
+ headers :
25
+ api_keys : " {{ access_token }}"
26
+ Accept : application/vnd.github.v3+json""
21
27
method : GET
22
28
status_code : 200
23
29
force_basic_auth : yes
Original file line number Diff line number Diff line change 13
13
- name : Find the latest runner version (RUN ONCE)
14
14
uri :
15
15
url : " https://api.github.com/repos/actions/runner/releases/latest"
16
- url_username : " "
17
- url_password : " {{ access_token }}"
16
+ # url_username: " "
17
+ # url_password: "{{ access_token }}"
18
+ headers :
19
+ api_keys : " {{ access_token }}"
20
+ Accept : application/vnd.github.v3+json""
18
21
method : GET
19
22
force_basic_auth : yes
20
23
return_content : yes
You can’t perform that action at this time.
0 commit comments