From 385f4c4f7640d433f874e9acef995f265daf7258 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dennis=20Gl=C3=A4ser?= <dennis.glaeser@iws.uni-stuttgart.de>
Date: Thu, 29 Apr 2021 11:22:41 +0200
Subject: [PATCH] [ci] do not always create pipeline on master

This way, the pipeline result on master will always be the one of the
last nightly scheduled pipeline.
---
 .gitlab-ci.yml | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4f020c55b3..1be61133a7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -11,7 +11,6 @@ variables:
 workflow:
   rules:
     - if: $CI_PIPELINE_SOURCE == "schedule"
-    - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
     - if: $CI_PIPELINE_SOURCE == "merge_request_event"
 
 ###################################################################################
@@ -31,10 +30,6 @@ workflow:
   variables:
     TRIGGER_SOURCE: $CI_PIPELINE_SOURCE
   rules:
-  - if: $CI_PIPELINE_SOURCE == "schedule"
-    when: always
-  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
-    when: manual
   - if: $CI_PIPELINE_SOURCE == "merge_request_event"
     when: manual
 
-- 
GitLab