summaryrefslogtreecommitdiff
path: root/.gitlab-ci/ci.template
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci/ci.template')
-rw-r--r--.gitlab-ci/ci.template5
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitlab-ci/ci.template b/.gitlab-ci/ci.template
index f07a872..30f3aed 100644
--- a/.gitlab-ci/ci.template
+++ b/.gitlab-ci/ci.template
@@ -27,6 +27,11 @@ stages:
- container_clean # clean up unused container images
- merge-check # check for a merge request
+workflow:
+ rules:
+ - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
+ - if: $CI_PIPELINE_SOURCE == 'push'
+
variables:
# The upstrem repository we will check for images
FDO_UPSTREAM_REPO: libevdev/libevdev