Loading checking_conflicts.sh +7 −0 Original line number Diff line number Diff line Loading @@ -86,6 +86,13 @@ echo "${merge_requests}" | jq -c '.[]' | while read mr; do # Setting label to the merge request which is conflicting with echo "Setting label to the merge request which is conflicting with: ${mr_id}" #Creating label colored orange curl --request POST \ --header "PRIVATE-TOKEN: ${10}" \ --data "name=Conflict with merge request ${5}&color=#ed9121" \ "${1}/projects/${2}/labels" #Assign label to the conflicting merge request curl --request PUT \ --silent \ --header "PRIVATE-TOKEN: ${10}" \ Loading Loading
checking_conflicts.sh +7 −0 Original line number Diff line number Diff line Loading @@ -86,6 +86,13 @@ echo "${merge_requests}" | jq -c '.[]' | while read mr; do # Setting label to the merge request which is conflicting with echo "Setting label to the merge request which is conflicting with: ${mr_id}" #Creating label colored orange curl --request POST \ --header "PRIVATE-TOKEN: ${10}" \ --data "name=Conflict with merge request ${5}&color=#ed9121" \ "${1}/projects/${2}/labels" #Assign label to the conflicting merge request curl --request PUT \ --silent \ --header "PRIVATE-TOKEN: ${10}" \ Loading