summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2023-03-15 13:27:41 +0100
committerBastien Nocera <hadess@hadess.net>2023-03-15 13:28:09 +0100
commitae371295f69a0f9f7040a98737dfd00b182b5b70 (patch)
treeb78b619da89e5489cbff51ac2bdefd15d3c4c04e
parentf83c454e651864bce663af499c888285f4f3c8cf (diff)
downloadshared-mime-info-ae371295f69a0f9f7040a98737dfd00b182b5b70.tar.gz
ci: Use detached pipelines
See https://gitlab.freedesktop.org/freedesktop/freedesktop/-/issues/438#what-it-means-for-me-a-maintainer-of-a-project-part-of-gitlabfreedesktoporg
-rw-r--r--.gitlab-ci.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 345e1ce1..5d9ecf3e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,5 +1,10 @@
image: fedora:rawhide
+workflow:
+ rules:
+ - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
+ - if: $CI_PIPELINE_SOURCE == 'push'
+
variables:
DEPENDENCIES: gcc
gcc-c++