]> 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>
Mon, 5 Jun 2023 18:52:15 +0000 (19:52 +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 0b80fbaf2240d34dff7956298ecee3ae5bd4115e..8a42759c39d35bf07078542df4cf8c3dcc33fc6a 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'
 
 image: debian:bullseye-slim