From fbf7fc351715aa1f05763bec73f7fc1aa97bc5bd Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 25 Apr 2023 11:27:50 +0200 Subject: ci: use detached CI pipelines See [1], required to allow contributors to trigger CI pipelines for MRs. Example failure can be found at [2]. [1]: https://gitlab.freedesktop.org/freedesktop/freedesktop/-/issues/540#what-it-means-for-me-a-maintainer-of-a-project-part-of-gitlabfreedesktoporg [2]: https://gitlab.freedesktop.org/i509VCB/wayland-protocols/-/jobs/40117393 Signed-off-by: Simon Ser --- .gitlab-ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cff93c8..3c7fe6a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,6 +16,11 @@ stages: variables: FDO_UPSTREAM_REPO: wayland/wayland-protocols +workflow: + rules: + - if: $CI_PIPELINE_SOURCE == 'merge_request_event' + - if: $CI_PIPELINE_SOURCE == 'push' + .debian: variables: FDO_DISTRIBUTION_VERSION: bullseye -- cgit v1.2.1