From d51d0c6f267d5955dbdf99bd2640a58bc14947d7 Mon Sep 17 00:00:00 2001
From: Amir MOHAMMADI <amir.mohammadi@idiap.ch>
Date: Fri, 2 Jun 2017 10:55:26 +0200
Subject: [PATCH] Update update_feedstock.py Auto accepting the merge request
 does not seem to work

---
 gitlab/update_feedstock.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gitlab/update_feedstock.py b/gitlab/update_feedstock.py
index 85406cb..42680c5 100755
--- a/gitlab/update_feedstock.py
+++ b/gitlab/update_feedstock.py
@@ -251,8 +251,8 @@ def main(package, subfolder='recipes', direct_push=False):
       title = 'Update-to-{}'.format(branch_name)
       mr = gitlab.create_merge_request(project_id, branch_name, 'master',
                                        title, remove_source_branch='true')
-      gitlab.accept_merge_request(
-          project_id, mr['id'], merge_when_pipeline_succeeds='true')
+    #   gitlab.accept_merge_request(
+        #   project_id, mr['id'], merge_when_pipeline_succeeds='true')
   finally:
     shutil.rmtree(temp_dir)
 
-- 
GitLab