From 4ac13e5befd0592d9da3eb049b53ecc84dd62847 Mon Sep 17 00:00:00 2001
From: DAVID Axel <axel.david@etu.univ-amu.fr>
Date: Sat, 6 May 2023 11:18:47 +0000
Subject: [PATCH] ci: :green_heart: Fix the execution of pipeline for tag
 plubished

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d8a14c1..26e3a48 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -28,6 +28,7 @@ workflow:
         -   if: $CI_PIPELINE_SOURCE == "merge_request_event"
         -   if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS
             when: never
+        -   if: $CI_COMMIT_TAG && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
         -   if: $CI_COMMIT_BRANCH
 
 
-- 
GitLab