From 3f28ee9d3dc1fb2670bbcdd0643b1b654683898d Mon Sep 17 00:00:00 2001 From: Matthew McClaskey Date: Fri, 15 Mar 2024 11:13:31 +0000 Subject: [PATCH 1/2] KASM-5761 fix failing pipeline on MRs --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6069fa2..f4c943c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,7 +17,7 @@ variables: workflow: rules: # Disable tag builds. - - if: $CI_COMMIT_TAG != $CI_COMMIT_REF_NAME + - if: $CI_COMMIT_TAG != $CI_COMMIT_REF_NAME && $CI_PIPELINE_SOURCE == "merge_request_event" stages: - www From d74f7102f94a8f4a3fe9e52de7b7d26e96118d73 Mon Sep 17 00:00:00 2001 From: Matthew McClaskey Date: Fri, 15 Mar 2024 11:14:37 +0000 Subject: [PATCH 2/2] changed logic --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f4c943c..b382301 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,7 +17,7 @@ variables: workflow: rules: # Disable tag builds. - - if: $CI_COMMIT_TAG != $CI_COMMIT_REF_NAME && $CI_PIPELINE_SOURCE == "merge_request_event" + - if: $CI_COMMIT_TAG != $CI_COMMIT_REF_NAME && $CI_PIPELINE_SOURCE != "merge_request_event" stages: - www