UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 979ae639 authored by kevin.wilder's avatar kevin.wilder Committed by Micah Nagel
Browse files

SKIP UPGRADE: allow MR to be in draft and skip the upgrade

parent b161191f
No related branches found
No related tags found
1 merge request!923SKIP UPGRADE: allow MR to be in draft and skip the upgrade
......@@ -147,8 +147,8 @@ upgrade:
# skip job for nightly master and "test-ci::infra" labeled pipelines
- if: '($CI_PIPELINE_SOURCE == "schedule" && $CI_COMMIT_BRANCH == "master") || $CI_MERGE_REQUEST_LABELS =~ /(^|,)test-ci::infra(,|$)/'
when: never
# skip job when MR title starts with 'SKIP UPGRADE'
- if: '$CI_MERGE_REQUEST_TITLE =~ /^SKIP UPGRADE/'
# skip job when MR title starts with 'SKIP UPGRADE'
- if: '$CI_MERGE_REQUEST_TITLE =~ /SKIP UPGRADE/'
when: never
# run pipeline on merge request events
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment