From 54f6ce6122e972e34b6c981d87aead62d3e0a837 Mon Sep 17 00:00:00 2001 From: Zygmunt Krynicki <zygmunt.krynicki@huawei.com> Date: Wed, 24 Mar 2021 21:02:34 +0100 Subject: [PATCH] gitlab-ci.yml: fix rules:if:changes It seems that `**` matches only the directory parts, `*` is needed to match files contained therein. Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com> --- .ostc-ci/gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.ostc-ci/gitlab-ci.yml b/.ostc-ci/gitlab-ci.yml index f608d217..0247d0a2 100644 --- a/.ostc-ci/gitlab-ci.yml +++ b/.ostc-ci/gitlab-ci.yml @@ -54,7 +54,7 @@ build-docs: - if: '$CI_PIPELINE_SOURCE == "merge_request_event"' changes: # React to changes to the docs directory. - - docs/** + - docs/**/* # Run this job in case the pipeline changes. - .ostc-ci/*.yml @@ -77,8 +77,8 @@ build-docs: - if: '$CI_PIPELINE_SOURCE == "merge_request_event"' changes: # React to changes to meta-layers assets and flavours. - - assets/** - - flavours/** - - meta-*/** + - assets/**/* + - flavours/**/* + - meta-*/**/* # Run this job in case the pipeline changes. - .ostc-ci/*.yml -- GitLab