summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2023-03-15 11:48:49 +0100
committerBastien Nocera <hadess@hadess.net>2023-03-15 11:48:49 +0100
commitb42f4691d310587aaed0a3e45038160d553b8901 (patch)
tree8c2d57628db5eb912338ab9a8447e28a4e38927e
parent810c1214a502e647b2fe029c25bfec2b184693e7 (diff)
downloadupower-b42f4691d310587aaed0a3e45038160d553b8901.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 58d1370..aa818ba 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -32,6 +32,11 @@ variables:
git
LAST_ABI_BREAK: "9058d45685d1c7c08d52fb64c393fed9eeed542b"
+workflow:
+ rules:
+ - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
+ - if: $CI_PIPELINE_SOURCE == 'push'
+
stages:
- check-source
- build