From 935caaed25e206bf2c3ff708ec2ec657fc6ceebc Mon Sep 17 00:00:00 2001 From: Kevin Daudt <kdaudt@alpinelinux.org> Date: Fri, 1 Sep 2023 10:42:04 +0000 Subject: [PATCH] ci: add 'rules' to workflow --- .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4a8bb911ac39..d4755bcf657a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,8 +8,9 @@ variables: # only rune pipelines for merge requests or when tags are pushed (for triggers) workflow: - - if: $CI_PIPELINE_SOURCE == "merge_request_event" - - if: $CI_COMMIT_TAG + rules: + - if: $CI_PIPELINE_SOURCE == "merge_request_event" + - if: $CI_COMMIT_TAG lint: stage: verify -- GitLab