Skip to content
Snippets Groups Projects
Commit 2e643316 authored by Jürgen Haas's avatar Jürgen Haas
Browse files

Add template to create a MR with proposed changes if a build process creates modifications

parent 7a8a76a0
Branches
No related tags found
No related merge requests found
......@@ -38,8 +38,8 @@ git branch ${SOURCE_BRANCH}
git checkout ${SOURCE_BRANCH}
git commit -am "GitLab CI proposed changes"
git push -u mr ${SOURCE_BRANCH}
git checkout ${TARGET_BRANCH}
# Create MR
curl -X POST "${HOST}${CI_PROJECT_ID}/merge_requests" \
--header "PRIVATE-TOKEN:${ACCESS_TOKEN}" \
--header "Content-Type: application/json" \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment