Skip to content
Snippets Groups Projects
Commit 45f1b60a authored by Eric Conde's avatar Eric Conde
Browse files

Add untagged template file to allow running in shared runners

parent f5d32ad9
Branches master
No related tags found
No related merge requests found
approval:
stage: .pre
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")
- 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment