From b0bc7108fac68d72e2c6aca40a847b9b405bd082 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sun, 26 Apr 2026 15:55:20 +0200 Subject: [PATCH] ci: use MR pipelines This runs CI jobs in the context of the parent project, unlocking merge request env vars. See https://docs.gitlab.com/ci/pipelines/merge_request_pipelines/#run-pipelines-in-the-parent-project --- .gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3b02ef16f..e5490fe34 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,10 @@ include: https://gitlab.freedesktop.org/emersion/dalligi/-/raw/master/templates/multi.yml +workflow: + rules: + - if: $CI_PIPELINE_SOURCE == "merge_request_event" + - if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS + when: never + - if: $CI_COMMIT_BRANCH alpine: extends: .dalligi pages: true