From d654a2781aabc84f7e2f68bcb10f33019791e67c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Henning?= <soeren.henning@email.uni-kiel.de>
Date: Mon, 7 Dec 2020 13:53:26 +0100
Subject: [PATCH] Avoid creation of detachted pipelines

---
 .gitlab-ci.yml | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6d1ef7544..a8bf42edd 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,3 +1,9 @@
+workflow:
+  rules:
+    - if: $CI_MERGE_REQUEST_ID
+      when: never
+    - when: always
+
 stages:
   - triggers
 
@@ -8,10 +14,8 @@ benchmarks:
     strategy: depend
   rules:
     - if: "$CI_COMMIT_TAG"
-      when: always
     - changes:
       - benchmarks/*
-      when: always
     - when: manual
       allow_failure: true
   
\ No newline at end of file
-- 
GitLab