From 54e596b75274bf26fd71ad40b9aced1bab0c56ae Mon Sep 17 00:00:00 2001
From: Chase Qi <chase.qi@linaro.org>
Date: Fri, 17 Dec 2021 14:04:40 +0800
Subject: [PATCH] ci: use current project and branch for scheduled pipeline

Signed-off-by: Chase Qi <chase.qi@linaro.org>
---
 .gitlab-ci.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 23bc078f..2f831a30 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -54,6 +54,9 @@ aggregate-docs:
 .bitbake-workspace:
   rules:
     - if: '$CI_PIPELINE_SOURCE == "schedule"'
+      variables:
+        CI_ONIRO_MANIFEST_URL: "$CI_PROJECT_URL"
+        CI_ONIRO_MANIFEST_BRANCH: "$CI_COMMIT_REF_NAME"
     - if: '$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TITLE =~ /^(wip|draft):.*/i'
       when: manual
       variables:
-- 
GitLab