From 0a1bfc9aed076ab106cf7d3be892ca091b520834 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Munsch?= Date: Tue, 27 Oct 2026 13:53:22 +0100 Subject: [PATCH] build: fix build npm-security --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2b7cac3..d3a74b3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -322,3 +322,7 @@ npm-security: needs: - job: bun-security optional: true + rules: + - if: $CI_PIPELINE_SOURCE == "merge_request_event" + - if: $CI_COMMIT_BRANCH == "trunk" || $CI_COMMIT_BRANCH == "master" || $CI_COMMIT_BRANCH == "main" + - if: $CI_COMMIT_TAG != null