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:
stage: test
script:
- npm audit
- npm audit --production
only:
- schedules
@@ -178,9 +178,8 @@ review:
on_stop: stop_review
tags:
- secrecy
except:
- master
- develop
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"))
stop_review:
stage: deploy
@@ -192,6 +191,8 @@ stop_review:
action: stop
tags:
- 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:
stage: deploy