Commit fb18e0e0 authored by Eric Conde's avatar Eric Conde
Browse files

style(pipeline): fix error

parent cb17a4e1
......@@ -3,8 +3,6 @@ approval:
script:
- apt-get update && apt-get install jq curl -y
- export MR_ID=$(curl -s "${GITLAB_API_URL}/projects/${CI_PROJECT_ID}/merge_requests?private_token=${GITLAB_API_TOKEN}&state=opened" | jq -r ".[]|select(.sha == \"$CI_COMMIT_SHA\")|.iid")
- export CI_COMMIT_SHORT_SHA=$(git rev-parse --short HEAD)
- echo $
- curl -X POST -H "Content-Type:application/json" --data '{"body":"Request for an approver to code review and resolve this thread to enable merging."}' ${GITLAB_API_URL}/projects/${CI_PROJECT_ID}/merge_requests/{$MR_ID}/discussions?private_token=${GITLAB_API_TOKEN}
only:
- merge_requests
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment