Add analyze stage and workflow rules to prevent duplicate pipelines
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user