From b5ca3a95388b4216e7fc9c90b63b60bf2f0eb8ef Mon Sep 17 00:00:00 2001
From: Sheogorath <sheogorath@shivering-isles.com>
Date: Wed, 29 Nov 2023 09:20:20 +0100
Subject: [PATCH] ci(charts): Add condition to run helm-unittest when changing
 gitlab-ci

---
 charts/.utils/gitlab-ci.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/charts/.utils/gitlab-ci.yaml b/charts/.utils/gitlab-ci.yaml
index 9a8ecd1ad..f441ba424 100644
--- a/charts/.utils/gitlab-ci.yaml
+++ b/charts/.utils/gitlab-ci.yaml
@@ -36,6 +36,7 @@ chart-helm-lint:
       changes:
         paths:
           - charts/${CHART}/**/*
+          - charts/.utils/**/*
         compare_to: main
     - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE == "push"'
       changes:
@@ -61,6 +62,7 @@ chart-helm-unittest:
       changes:
         paths:
           - charts/${CHART}/**/*
+          - charts/.utils/**/*
         compare_to: main
     - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE == "push"'
       changes:
-- 
GitLab