From 2fe9aa73956d2dbbd8731910c03ba7412f684d8b Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen@paragon-es.de>
Date: Tue, 31 May 2022 16:21:26 +0200
Subject: [PATCH] gitlab-ci-cd/drupal#28 Make it work in pipelines too

---
 bin/merge | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bin/merge b/bin/merge
index 50d8e72..9050cef 100755
--- a/bin/merge
+++ b/bin/merge
@@ -99,5 +99,6 @@ echo "Created MR at $(echo "$result"  | jq -r ."web_url")"
 
 echo "Merge ..."
 # Merge MR
+sleep 5
 gitlab 200 PUT projects/"$PRJID"/merge_requests/"$MRID"/merge --data "should_remove_source_branch=0"
 echo "Merged successfully!"
-- 
GitLab