aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Audron <audron@cocaine.farm>2021-10-10 15:51:19 +0200
committerMax Audron <audron@cocaine.farm>2021-10-10 15:51:19 +0200
commit7638ca4e91af068e7322e493d3447b7c781f6d85 (patch)
tree2429bfcdd00ab691715780646bf92d21a3d97054
parentadd default rust pipeline to run for MRs (diff)
run pipeline only on tags or MR
-rw-r--r--.gitlab-ci.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 732c445..a8ddaad 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,3 +7,8 @@ include:
file: "/tanka.base.yaml"
rules:
- if: $CI_COMMIT_TAG
+
+workflow:
+ rules:
+ - if: $CI_COMMIT_TAG
+ - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'