From 12c1b25215a3082c43085ed297865fe206d5807c Mon Sep 17 00:00:00 2001
From: librelois <c@elo.tf>
Date: Thu, 13 Jan 2022 22:00:21 +0100
Subject: [PATCH] ci: exclude job fmt_and_clippy on master

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 338c83c54..ee99df6d9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -22,7 +22,7 @@ workflow:
 fmt_and_clippy:
   extends: .env
   rules:
-    - if: $CI_COMMIT_TAG
+    - if: '$CI_COMMIT_TAG || $CI_COMMIT_BRANCH == "master"'
       when: never
     - if: $CI_PIPELINE_SOURCE == "merge_request_event"
     - when: manual
-- 
GitLab