From bfe62b6950aa10939145f35189e3b4b97e9eb3f0 Mon Sep 17 00:00:00 2001
From: Kubat <mael.martin31@gmail.com>
Date: Sun, 13 Sep 2020 18:14:39 +0200
Subject: [PATCH] CI: Try fix CI for master

---
 .gitlab-ci.yml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c3d2469b..88280fb7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -9,8 +9,12 @@ stages:
     tags:
         - kurisu
     only:
-        - main
+        - master
         - merge_requests
+    except:
+        variables:
+            - $CI_MERGE_REQUEST_TITLE =~ /^WIP:/
+            - $CI_MERGE_REQUEST_TITLE =~ /^Draft:/
     variables:
         SRC_DIR: $CI_PROJECT_DIR                            # Where the sources are
         WORK_DIR: "/home/gitlab-runner/CI_$CI_PIPELINE_ID"  # Where we will work, so that it's not erased
-- 
GitLab