From 06fcfc00e0c6f2325c66d1ff945be76d7019827b Mon Sep 17 00:00:00 2001 From: Chase Qi <chase.qi@linaro.org> Date: Wed, 10 Aug 2022 12:11:14 +0800 Subject: [PATCH] .oniro-ci: skip build-doc job for scheduled pipeline as it runs when changes land Signed-off-by: Chase Qi <chase.qi@linaro.org> --- .oniro-ci/build-generic.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.oniro-ci/build-generic.yaml b/.oniro-ci/build-generic.yaml index 2190c7d2..e397e619 100644 --- a/.oniro-ci/build-generic.yaml +++ b/.oniro-ci/build-generic.yaml @@ -436,6 +436,8 @@ paths: - docs/build rules: + - if: '$CI_PIPELINE_SOURCE == "schedule"' + when: never # Build the docs when a merge request is created. - if: '$CI_PIPELINE_SOURCE == "merge_request_event"' changes: -- GitLab