From 537c6ebbeda4d638d203652f3fbf252ebc8846d0 Mon Sep 17 00:00:00 2001
From: Lorenzo Pagliai <lorenzo.pagliai@seco.com>
Date: Sun, 4 Dec 2022 16:05:03 +0100
Subject: [PATCH] Add schedule rule on workflow

---
 manifest-pipeline-yocto.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/manifest-pipeline-yocto.yml b/manifest-pipeline-yocto.yml
index ab102b9..519ea9b 100644
--- a/manifest-pipeline-yocto.yml
+++ b/manifest-pipeline-yocto.yml
@@ -49,6 +49,7 @@ workflow:
     - if: $CI_PIPELINE_SOURCE == "api"
     - if: $CI_PIPELINE_SOURCE == "pipeline"
     - if: $CI_PIPELINE_SOURCE == "web"
+    - if: $CI_PIPELINE_SOURCE == "schedule"
     # Do not run pipelines for merge requests
     - if: $CI_MERGE_REQUEST_IID
       when: never
@@ -70,6 +71,7 @@ workflow:
     - if: $CI_PIPELINE_SOURCE == "api"
     - if: $CI_PIPELINE_SOURCE == "pipeline"
     - if: $CI_PIPELINE_SOURCE == "web"
+    - if: $CI_PIPELINE_SOURCE == "schedule"
     # Trigger the pipeline on schedule basis (for weekly release) 
 
   stage: manifest-pipeline
-- 
GitLab