@@ -16,13 +16,13 @@ stages:
1616 # For complete details on the GitHub API please see:
1717 # https://developer.github.com/v3/repos/statuses
1818 - |
19- curl -L \
20- -X POST \
21- -H "Accept: application/vnd.github+json" \
22- -H "Authorization: Bearer ${GITHUB_TOKEN}" \
23- -H "X-GitHub-Api-Version: 2022-11-28" \
24- "https://api.github.com/repos/${STATUS_PROJECT}/statuses/${CI_COMMIT_SHA}" \
25- -d "{\"state\":\"${CI_JOB_NAME}\",\"description\":\"${STATUS_MESSAGE}\",\"target_url\":\"${CI_PIPELINE_URL}\",\"context\":\"${STATUS_NAME}\"}"
19+ curl -L \
20+ -X POST \
21+ -H "Accept: application/vnd.github+json" \
22+ -H "Authorization: Bearer ${GITHUB_TOKEN}" \
23+ -H "X-GitHub-Api-Version: 2022-11-28" \
24+ "https://api.github.com/repos/${STATUS_PROJECT}/statuses/${CI_COMMIT_SHA}" \
25+ -d "{\"state\":\"${CI_JOB_NAME}\",\"description\":\"${STATUS_MESSAGE}\",\"target_url\":\"${CI_PIPELINE_URL}\",\"context\":\"${STATUS_NAME}\"}"
2626
2727pending :
2828 stage : .pre
@@ -51,16 +51,16 @@ perlmutter-authorize:
5151 stage : authorize
5252 rules :
5353 - if : ' $METRICS == null'
54- when : manual
54+ when : manual
5555 script :
5656 - |
57- curl -L \
58- -X POST \
59- -H "Accept: application/vnd.github+json" \
60- -H "Authorization: Bearer ${GITHUB_TOKEN}" \
61- -H "X-GitHub-Api-Version: 2022-11-28" \
62- "https://api.github.com/repos/${STATUS_PROJECT}/statuses/${CI_COMMIT_SHA}" \
63- -d "{\"state\":\"pending\",\"description\":\"Running...\",\"target_url\":\"${CI_PIPELINE_URL}\",\"context\":\"${STATUS_NAME}\"}"
57+ curl -L \
58+ -X POST \
59+ -H "Accept: application/vnd.github+json" \
60+ -H "Authorization: Bearer ${GITHUB_TOKEN}" \
61+ -H "X-GitHub-Api-Version: 2022-11-28" \
62+ "https://api.github.com/repos/${STATUS_PROJECT}/statuses/${CI_COMMIT_SHA}" \
63+ -d "{\"state\":\"pending\",\"description\":\"Running...\",\"target_url\":\"${CI_PIPELINE_URL}\",\"context\":\"${STATUS_NAME}\"}"
6464
6565perlmutter-no-cache-build :
6666 stage : build
0 commit comments