summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2023-08-30 17:16:26 +0100
committerSimon McVittie <smcv@collabora.com>2023-08-30 17:16:32 +0100
commit5ba644a1c83a44994ac2aab8d70f08378fbc2ff6 (patch)
tree57686f7a150435e6f3e3b0b1e6822b22899b9a52
parentf74338c72b79af840d4755a821e421688a9743fb (diff)
CI: Run pipelines on merge request events
After abuses of fdo infrastructure were mitigated in freedesktop/freedesktop#540, contributors cannot usually run pipelines in their own forks of dbus-python. Signed-off-by: Simon McVittie <smcv@collabora.com>
-rw-r--r--.gitlab-ci.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 102f1d3..d7fd09c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -23,6 +23,11 @@
image: debian:bookworm-slim
+workflow:
+ rules:
+ - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
+ - if: $CI_PIPELINE_SOURCE == 'push' && $CI_PROJECT_NAMESPACE == 'dbus'
+
stages:
- build