From: Simon McVittie Date: Fri, 12 May 2023 14:23:27 +0000 (+0100) Subject: CI: Only run for pushes to dbus X-Git-Tag: dbus-1.15.6~15^2~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a514593d6bd93dcd47f95cb1d99d19d0b6a192f;p=thirdparty%2Fdbus.git 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 --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8e1f72fe5..425c40684 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'