Skip to content

Commit e0c35ce

Browse files
Change auth method
1 parent 4792702 commit e0c35ce

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tasks/collect_info.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# user: ""
66
# password: "{{ access_token }}"
77
headers:
8-
api_keys: "{{ access_token }}"
8+
Authorization: "token {{ access_token }}"
99
Accept: application/vnd.github.v3+json""
1010
method: POST
1111
status_code: 201
@@ -22,7 +22,7 @@
2222
# user: ""
2323
# password: "{{ access_token }}"
2424
headers:
25-
api_keys: "{{ access_token }}"
25+
Authorization: "token {{ access_token }}"
2626
Accept: application/vnd.github.v3+json""
2727
method: GET
2828
status_code: 200

tasks/install_runner.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# url_username: " "
1717
# url_password: "{{ access_token }}"
1818
headers:
19-
api_keys: "{{ access_token }}"
19+
Authorization: "token {{ access_token }}"
2020
Accept: application/vnd.github.v3+json""
2121
method: GET
2222
force_basic_auth: yes

0 commit comments

Comments
 (0)