Commit 45f1b60a authored by Eric Conde's avatar Eric Conde
Browse files

Add untagged template file to allow running in shared runners

parent f5d32ad9
stage: .pre
- 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")
- 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}
- merge_requests
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