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 22- name : Get registration token (RUN ONCE)
33 uri :
44 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""
710 method : POST
811 status_code : 201
912 force_basic_auth : yes
1619- name : Check currently registered runners (RUN ONCE)
1720 uri :
1821 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""
2127 method : GET
2228 status_code : 200
2329 force_basic_auth : yes
Original file line number Diff line number Diff line change 1313- name : Find the latest runner version (RUN ONCE)
1414 uri :
1515 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""
1821 method : GET
1922 force_basic_auth : yes
2023 return_content : yes
You can’t perform that action at this time.
0 commit comments