summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2023-05-12 15:23:27 +0100
committerSimon McVittie <smcv@collabora.com>2023-05-12 15:40:45 +0100
commit4a514593d6bd93dcd47f95cb1d99d19d0b6a192f (patch)
treec68b685b0bb5e0d0c01dc45da670e6d6051106f9
parentdbbd4a32f147111efe61e0121f06de0ccc22eb77 (diff)
downloaddbus-4a514593d6bd93dcd47f95cb1d99d19d0b6a192f.tar.gz
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 8e1f72fe..425c4068 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'
include:
- project: 'freedesktop/ci-templates'