diff mbox series

[isar-cip-core] ci: Reorder rules to ensure they are all evaluated

Message ID 05cf8378-99d5-4e0f-a4a9-762a3ec4cf9b@siemens.com (mailing list archive)
State Accepted
Headers show
Series [isar-cip-core] ci: Reorder rules to ensure they are all evaluated | expand

Commit Message

Jan Kiszka Feb. 15, 2024, 7:29 a.m. UTC
From: Jan Kiszka <jan.kiszka@siemens.com>

Evaluation happens in the listed order, so the branch test was masking
the other rules so far.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4f87ec37..9c3ee0f5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -44,11 +44,11 @@  default:
 .build_base:
   stage: build
   rules:
-    - if: $CI_COMMIT_BRANCH != "master"
     - if: $CI_COMMIT_TAG
       when: never
     - if: $CI_PIPELINE_SOURCE == "schedule"
       when: never
+    - if: $CI_COMMIT_BRANCH != "master"
   tags:
     - large
   variables: