From d308a462ba41de443ea0ae5d01260eacfdcca50d 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:57:28 +0200
Subject: [PATCH] [ci] modify pipeline creation rules

---
 .gitlab-ci.yml | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1be61133a7..2328300ad0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,9 +5,8 @@ stages:
 variables:
   IMAGE_REGISTRY_URL: $CI_REGISTRY/dumux-repositories/dumux-docker-ci
 
-# Cases in which to create a pipeline. The `select-pipeline` job further
-# specifies the situations in which they must be started manually. Currently,
-# we only have automatic pipeline triggers for scheduled pipelines.
+# Cases in which to create pipelines at all. The trigger jobs may further
+# specify how exactly they should be created in different situations.
 workflow:
   rules:
     - if: $CI_PIPELINE_SOURCE == "schedule"
@@ -30,6 +29,8 @@ workflow:
   variables:
     TRIGGER_SOURCE: $CI_PIPELINE_SOURCE
   rules:
+  - if: $CI_PIPELINE_SOURCE == "schedule"
+    when: always
   - if: $CI_PIPELINE_SOURCE == "merge_request_event"
     when: manual
 
-- 
GitLab