From 897e7ae58c1450bd7a2a4e51275f957ae84a5909 Mon Sep 17 00:00:00 2001
From: laurentheirendt <laurent.heirendt@uni.lu>
Date: Thu, 14 Jan 2021 13:40:08 +0100
Subject: [PATCH] combine if rules

---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fd502925..b80f679c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -37,7 +37,7 @@ save:commitIndex:
     entrypoint: [""]
   stage: save
   rules:
-    - if: '$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_COMMIT_MESSAGE !~ /tmpBranch/ && $CI_COMMIT_MESSAGE !~ '/Update index/' && $CI_PROJECT_NAMESPACE == "R3" && $CI_PROJECT_NAMESPACE == "R3-core"
+    - if: '$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_COMMIT_MESSAGE !~ /tmpBranch/ && $CI_COMMIT_MESSAGE !~ /Update index/ && $CI_PROJECT_NAMESPACE == "R3" && $CI_PROJECT_NAMESPACE == "R3-core"'
   before_script:
     - apk add git-lfs
     - git fetch --all
-- 
GitLab