]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
CI: Only run for pushes to dbus
authorSimon McVittie <smcv@collabora.com>
Fri, 12 May 2023 14:23:27 +0000 (15:23 +0100)
committerSimon McVittie <smcv@collabora.com>
Fri, 12 May 2023 14:40:45 +0000 (15:40 +0100)
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>
.gitlab-ci.yml

index 8e1f72fe58b65c13882abff6a648cd8a1c7a7503..425c40684694eb6ffb97b63f2c7954a1b79c482a 100644 (file)
@@ -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'
 
 include:
   - project: 'freedesktop/ci-templates'