aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2024-08-09 22:14:10 +0200
committerSimon Ser <contact@emersion.fr>2024-08-09 20:46:58 +0000
commitefa648056a1f2574708ec1a36a5f23733dd8c063 (patch)
treea0ce785143904ab65d8c46b41327403998927ec4
parentsrc: Finish assert() clean-up (diff)
downloadwayland-efa648056a1f2574708ec1a36a5f23733dd8c063.tar
wayland-efa648056a1f2574708ec1a36a5f23733dd8c063.tar.gz
wayland-efa648056a1f2574708ec1a36a5f23733dd8c063.tar.bz2
wayland-efa648056a1f2574708ec1a36a5f23733dd8c063.tar.lz
wayland-efa648056a1f2574708ec1a36a5f23733dd8c063.tar.xz
wayland-efa648056a1f2574708ec1a36a5f23733dd8c063.tar.zst
wayland-efa648056a1f2574708ec1a36a5f23733dd8c063.zip
ci: use detached MR pipelines
See the freedesktop wiki [1]. This allows external contributors to have CI run properly. [1]: https://gitlab.freedesktop.org/freedesktop/freedesktop/-/wikis/GitLab-CI#for-project-developers Signed-off-by: Simon Ser <contact@emersion.fr>
-rw-r--r--.gitlab-ci.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7dc7e33..079ad8b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -62,6 +62,13 @@ stages:
- "Build and test"
- "Other build configurations"
+workflow:
+ rules:
+ - if: $CI_PIPELINE_SOURCE == "merge_request_event"
+ - if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS
+ when: never
+ - if: $CI_COMMIT_BRANCH
+
.ci-rules:
rules:
- when: on_success