summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2023-05-12 15:23:27 +0100
committerSimon McVittie <smcv@collabora.com>2023-06-05 20:09:00 +0100
commitc59b43717303cc1e08b2c125e607c41c6576c865 (patch)
treece41160afe2d2589865cb0c70f6253d6f72758f1
parent0a72523e2f6b7ab822a4a781e47390664a75d635 (diff)
CI: Only run for pushes to dbus
In practice the pipeline is going to fail for namespaces other than dbus, so don't waste time on trying to run it there; only run the detached pipeline for the MR. Signed-off-by: Simon McVittie <smcv@collabora.com>
-rw-r--r--.gitlab-ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f16e9679..0df52a36 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -23,7 +23,7 @@
workflow:
rules:
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
- - if: $CI_PIPELINE_SOURCE == 'push'
+ - if: $CI_PIPELINE_SOURCE == 'push' && $CI_PROJECT_NAMESPACE == 'dbus'
image: debian:bullseye-slim