Loading .gitlab-ci.yml +2 −2 Original line number Diff line number Diff line Loading @@ -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 @- Loading Loading
.gitlab-ci.yml +2 −2 Original line number Diff line number Diff line Loading @@ -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 @- Loading