diff --git a/bin/merge b/bin/merge index d7d0aee3722b9158a710d4814ff22dba775b3560..279558e303608b9ffcfed128f291fe2c3ccda35d 100755 --- a/bin/merge +++ b/bin/merge @@ -99,7 +99,11 @@ fi echo "Create merge request ..." # Create MR -gitlab 201 POST projects/"$PRJID"/merge_requests --data "source_branch=$SOURCEBRANCH" --data "target_branch=$TARGETBRANCH" --data "title=Merging $SOURCEBRANCH into $TARGETBRANCH" +TITLE=Merging $SOURCEBRANCH into $TARGETBRANCH +if [[ "${SKIPCONFIGIMPORT}" == "yes" ]]; then + TITLE="${TITLE} [SKIP_CONFIG_IMPORT]" +fi +gitlab 201 POST projects/"$PRJID"/merge_requests --data "source_branch=$SOURCEBRANCH" --data "target_branch=$TARGETBRANCH" --data "title=$TITLE" MRID=$(echo "$result" | jq -r ."iid") if [[ $(isNumeric "$MRID") -eq 1 ]]; then echo "Can not create merge request"