From 53bf58cb3b6f3cb24dce8edd1fee3b875ee8d8f2 Mon Sep 17 00:00:00 2001
From: Heiko Bornholdt <bornholdt@informatik.uni-hamburg.de>
Date: Mon, 27 Jan 2020 18:27:58 +0100
Subject: [PATCH] Fix stop_review

---
 .gitlab-ci.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2422eb5..7b8ab2e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -56,7 +56,8 @@ stop_review:
     GIT_STRATEGY: none
   before_script:
     - apk add --no-cache git
-    - git clone -b $CI_COMMIT_SHA --single-branch $CI_REPOSITORY_URL
+    - git clone -n $CI_REPOSITORY_URL
+    - git checkout $CI_REPOSITORY_URL
     - cd $CI_PROJECT_NAME
   script:
     - sh ./prepare-environment-docker-compose.sh > docker-compose.yml
-- 
GitLab