From c02a64993164e0c84bd64720bf92a005b6ac9a8d Mon Sep 17 00:00:00 2001
From: Julien Leduc <julien.leduc@cern.ch>
Date: Mon, 15 Nov 2021 13:13:51 +0100
Subject: [PATCH] Not running cppcheck analysis on tag pipelines as these
 already ran on the corresponding commit pipeline

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 959c832c28..a2fa48d73f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -351,6 +351,8 @@ trigger_doc_update:
     strategy: depend
 
 cppcheck:
+  except:
+    - tags
   stage: analysis:check
   image:
     name: neszt/cppcheck-docker
@@ -365,6 +367,8 @@ cppcheck:
 
 # based on https://gitlab.com/ahogen/cppcheck-codequality
 cppcheck_report:
+  except:
+    - tags
   stage: analysis:report
   image: centos:7
   script:
-- 
GitLab