summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2024-02-29 13:47:58 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2024-02-29 13:47:58 +1000
commitf818ae17ae0e51f00eca71b0fc8e12dadd8b0299 (patch)
treedb848cf502c2380ce1dc1c0be923aeba0f41323b
parent6acdcbcb9368a3e3df07ed3dc4f03f0cd6f60497 (diff)
CI: add new workflow rules
Required for pipelines to run after some infrastructure changes, see https://gitlab.freedesktop.org/freedesktop/freedesktop/-/issues/438
-rw-r--r--.gitlab-ci.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0b2102f..3ae1142 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,6 +7,11 @@ include:
ref: *template_sha
file: '/templates/fedora.yml'
+workflow:
+ rules:
+ - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
+ - if: $CI_PIPELINE_SOURCE == 'push'
+
stages:
- prep # prep work like rebuilding the container images if there is a change
- build # for actually building and testing things in a container