mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-14 06:04:19 +00:00
ci: update authorization from Bearer token to CI_JOB_TOKEN while making requests to CI_DASHBOARD_API service
This commit is contained in:
@@ -289,7 +289,7 @@ class Gitlab(object):
|
||||
"""
|
||||
response = requests.get(
|
||||
f'{os.getenv("CI_DASHBOARD_API", "")}/pipelines/{parent_pipeline_id}/child-ids',
|
||||
headers={'Authorization': f'Bearer {os.getenv("ESPCI_TOKEN", "")}'}
|
||||
headers={'CI-Job-Token': os.getenv('CI_JOB_TOKEN', '')},
|
||||
)
|
||||
|
||||
if response.status_code == 200:
|
||||
|
Reference in New Issue
Block a user