From 0a72523e2f6b7ab822a4a781e47390664a75d635 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Fri, 12 May 2023 15:00:34 +0100 Subject: [PATCH] CI: Run a detached pipeline for merge requests After abuses of fdo infrastructure were mitigated in freedesktop/freedesktop#540, contributors cannot usually run pipelines in their own forks of dbus. Signed-off-by: Simon McVittie --- .gitlab-ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 242e4fe6..f16e9679 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,6 +20,11 @@ # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. +workflow: + rules: + - if: $CI_PIPELINE_SOURCE == 'merge_request_event' + - if: $CI_PIPELINE_SOURCE == 'push' + image: debian:bullseye-slim stages: