From 4a514593d6bd93dcd47f95cb1d99d19d0b6a192f Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Fri, 12 May 2023 15:23:27 +0100 Subject: 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 --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.gitlab-ci.yml') 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' -- cgit v1.2.1