commit: 27a8f6a8d9a1825d3669d2d55add47e0c3e58445
parent 50d3209ce85c164acc374d236e6407c58f8ffd35
Author: Tusooa Zhu <tusooa@kazv.moe>
Date: Sun, 28 Aug 2022 09:54:28 -0400
Prevent duplicate pipelines
Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
@@ -7,6 +7,13 @@ variables: &global_variables
DB_HOST: postgres
MIX_ENV: test
+workflow:
+ rules:
+ - if: $CI_PIPELINE_SOURCE == "merge_request_event"
+ - if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS
+ when: never
+ - if: $CI_COMMIT_BRANCH
+
cache: &global_cache_policy
key:
files: