From dbbd4a32f147111efe61e0121f06de0ccc22eb77 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 f20b0ee5a..8e1f72fe5 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' + include: - project: 'freedesktop/ci-templates' ref: e9a461877f8c7f9fed9fff5491067ec3c3472559 -- 2.47.3