projects/aports·commit 935caaed

ci: add 'rules' to workflow

935caaed · Kevin Daudt <[email protected]> · 2023-09-01 10:42:04 +00:00

Commit
935caaed25e206bf2c3ff708ec2ec657fc6ceebc
Parents
ff5b8d73

Changes

1 files changed · +3 −2

FileStatusAddDelContent
.gitlab-ci.ymlmodified+3−2View file

.gitlab-ci.yml

View file
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4a8bb91..d4755bc 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