From e4c40101d498146280ab5dc15020501f4f876a66 Mon Sep 17 00:00:00 2001 From: Zehkira <9485872-zehkira@users.noreply.gitlab.com> Date: Wed, 19 Nov 2025 14:06:18 +0100 Subject: [PATCH] Add tag existence requirement validation for merging into release --- .gitlab-ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5873ff9..82e7776 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,12 +7,22 @@ variables: stages: + - validate - test - build-x86_64 - build-aarch64 - deploy +validate-release: + stage: validate + rules: + - if: $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == $RELEASE_BRANCH + image: ${IMAGE} + script: + - git tag --points-at HEAD | grep -q v + + test: stage: test rules: -- GitLab