Add analyze stage and workflow rules to prevent duplicate pipelines

This commit is contained in:
Mondo Diaz
2026-01-13 23:09:51 +00:00
parent 1af5190d85
commit c816286394

View File

@@ -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: