From ad9b2cc2dec260c5918f6be050e14cb5019d7626 Mon Sep 17 00:00:00 2001
From: Yannick DAYER <yannick.dayer@idiap.ch>
Date: Thu, 17 Oct 2024 12:47:21 +0200
Subject: [PATCH] ci: run develop pipelines when source is nightlies

Allow pipelines originating from another pipeline like `nightlies` to
run even if not on the default branch.
---
 .gitlab-ci.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fc5f192..cd3e8fb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,6 +3,7 @@ workflow:
     - if: $CI_PIPELINE_SOURCE == 'web'
     - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
     - if: $CI_PIPELINE_SOURCE == 'parent_pipeline'
+    - if: $CI_PIPELINE_SOURCE == 'pipeline'
     - if: $CI_COMMIT_TAG
     - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
 
-- 
GitLab