ci: remove review stage on merge trains

This commit is contained in:
Rainer Killinger
2022-09-27 17:29:15 +02:00
parent b8db0f3e70
commit eb108c7414

View File

@@ -148,7 +148,7 @@ audit:
scheduled-audit: scheduled-audit:
stage: test stage: test
script: script:
- npm audit - npm audit --production
only: only:
- schedules - schedules
@@ -178,9 +178,8 @@ review:
on_stop: stop_review on_stop: stop_review
tags: tags:
- secrecy - secrecy
except: rules:
- master - if: ($CI_COMMIT_REF_NAME != "develop" && $CI_COMMIT_REF_NAME != "master" && $CI_MERGE_REQUEST_EVENT_TYPE != "merge_train" && ($CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "web"))
- develop
stop_review: stop_review:
stage: deploy stage: deploy
@@ -192,6 +191,8 @@ stop_review:
action: stop action: stop
tags: tags:
- secrecy - secrecy
rules:
- if: ($CI_COMMIT_REF_NAME != "develop" && $CI_COMMIT_REF_NAME != "master" && $CI_MERGE_REQUEST_EVENT_TYPE != "merge_train" && ($CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "web"))
staging: staging:
stage: deploy stage: deploy