From c816286394b0a27b20cbb07ced642b97d0e65800 Mon Sep 17 00:00:00 2001 From: Mondo Diaz Date: Tue, 13 Jan 2026 23:09:51 +0000 Subject: [PATCH] Add analyze stage and workflow rules to prevent duplicate pipelines --- .gitlab-ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e31535f..b0481ee 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,12 +7,20 @@ variables: # renovate: datasource=gitlab-tags depName=esv/bsf/pypi/prosper versioning=semver registryUrl=https://gitlab.global.bsf.tools PROSPER_VERSION: v0.64.1 +# Prevent duplicate pipelines for MRs +workflow: + rules: + - if: $CI_PIPELINE_SOURCE == "merge_request_event" + when: never + - when: always + # Define stages - extends Prosper's stages with our custom ones stages: - .pre - lint - build - test + - analyze - deploy kics: