From 9bc16904d023cc041221a2f3682599977487aec4 Mon Sep 17 00:00:00 2001
From: librelois <c@elo.tf>
Date: Thu, 13 Jan 2022 23:15:56 +0100
Subject: [PATCH] ci: exclude job build_debug on master

---
 .gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ee99df6d9..216a15778 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -69,9 +69,9 @@ tests_debug:
   rules:
     - if: $CI_COMMIT_REF_NAME =~ /^wip*$/
       when: manual
-    - if: $CI_COMMIT_TAG
+    - if: '$CI_COMMIT_TAG || $CI_COMMIT_BRANCH == "master"'
       when: never
-    - if: '$CI_MERGE_REQUEST_ID || $CI_COMMIT_BRANCH == "master"'
+    - if: $CI_MERGE_REQUEST_ID
     - when: manual
   stage: tests
   variables:
-- 
GitLab