Commit aae8dd10 authored by Jan Kiene's avatar Jan Kiene
Browse files

add job token to curl call

parent 4370edde
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -45,6 +45,7 @@ check-merged-ci-config-is-valid:
      | curl -sS -X POST \
             --url "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/ci/lint?include_merged_yaml=true" \
             -H "Content-Type: application/json" \
             -H "JOB-TOKEN: $CI_JOB_TOKEN" \
             --output $BASELINE_RESPONSE \
             --data-binary @-

@@ -61,6 +62,7 @@ check-merged-ci-config-is-valid:
      | curl -sS -X POST \
             --url "${CI_API_V4_URL}/v4/projects/${CI_PROJECT_ID}/ci/lint?include_merged_yaml=true" \
             -H "Content-Type: application/json" \
             -H "JOB-TOKEN: $CI_JOB_TOKEN" \
             --output $MERGED_RESPONSE \
             --data-binary @-