Commit 2058ff32 authored by Jan Kiene's avatar Jan Kiene
Browse files

project access token for this project now

parent eef655bd
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -59,11 +59,11 @@ check-merged-ci-config-is-valid:

    # lint patched yaml
    - |
      jq -n --arg yaml "$(<$test_yml)" '.content=$yaml' \
      jq -n --arg yaml "$(<$test_yml)" --arg ref "$CI_COMMIT_REF_NAME" '{ content: $yaml, ref: $ref }' \
      | 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" \
             -H "PRIVATE-TOKEN: $LINT_TOKEN" \
             --output $MERGED_RESPONSE \
             --data-binary @-