summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml5
-rw-r--r--.gitlab-ci/ci.template5
2 files changed, 10 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 68fe83e..c27bc92 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -31,6 +31,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
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