From 159e7141b1ff2417ef6d9c7341bba4109500e8b6 Mon Sep 17 00:00:00 2001 From: Konrad Michalik Date: Mon, 12 Aug 2024 11:38:22 +0200 Subject: [PATCH] fix: convert feature branches only list to rules statements --- .base.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.base.yml b/.base.yml index 5ecaeff..a064e68 100644 --- a/.base.yml +++ b/.base.yml @@ -80,10 +80,13 @@ stages: .feature-branches: variables: FEATURE_STOP_DOWNSTREAM_BRANCH: main - only: - - /^release-(.*)/ - - /^feature-.*$/ - - main + rules: + - if: '$CI_COMMIT_REF_NAME =~ /^release-.*$/' + when: always + - if: '$CI_COMMIT_REF_NAME =~ /^feature-.*$/' + when: always + - if: '$CI_COMMIT_REF_NAME == "main"' + when: always #----------------------------------------------------------------------------------------------------------------------- # SCHEDULE