From b124dc70a3ad565386768bb20ccc41d43ad39a96 Mon Sep 17 00:00:00 2001
From: Lorenzo Pagliai <lorenzo.pagliai@seco.com>
Date: Thu, 17 Nov 2022 15:47:18 +0100
Subject: [PATCH] Manual trigger rule move to workflow

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

diff --git a/manifest-pipeline-yocto.yml b/manifest-pipeline-yocto.yml
index 25cf064..5c5dd54 100644
--- a/manifest-pipeline-yocto.yml
+++ b/manifest-pipeline-yocto.yml
@@ -39,6 +39,7 @@ workflow:
     # Explicitly allow externally triggered pipelines in every case
     - if: $CI_PIPELINE_SOURCE == "api"
     - if: $CI_PIPELINE_SOURCE == "pipeline"
+      when: manual
     - if: $CI_PIPELINE_SOURCE == "web"
     # Do not run pipelines for merge requests
     - if: $CI_MERGE_REQUEST_IID
@@ -61,7 +62,6 @@ workflow:
     - if: $CI_COMMIT_REF_NAME != $MASTER_BRANCH
     - if: $CI_PIPELINE_SOURCE == "api"
     - if: $CI_PIPELINE_SOURCE == "pipeline"
-      when: manual
     - if: $CI_PIPELINE_SOURCE == "web"
     # Trigger the pipeline on schedule basis (for weekly release)
     - if: $CI_PIPELINE_SOURCE == "schedule" 
-- 
GitLab