ci: add 'rules' to workflow
Changes
1 files changed · +3 −2
| File | Status | Add | Del | Content |
|---|---|---|---|---|
| .gitlab-ci.yml | modified | +3 | −2 | View file |
.gitlab-ci.yml
View filediff --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