From e9bdad6c6063a7b695e26f0f846026b123e2aecf Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Fri, 9 May 2025 16:32:29 -0700 Subject: [PATCH] ci: Set a ruleset for which branches or MRs can start pipelines --- .gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 150207a..b739904 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,6 +11,12 @@ test: - pacman -Sy --noconfirm --needed dbus rust - dbus-run-session cargo test +workflow: + rules: + - if: $CI_PIPELINE_SOURCE == 'merge_request_event' + - if: $CI_COMMIT_TAG + - if: $CI_COMMIT_BRANCH + fmt: stage: test tags: