diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 164d39f61edef526d76ee0ea0a6f1f05647534ca..a917d8284b0ac09ca6ba6f1376dfa99e31222d83 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,3 +1,8 @@
+workflow:
+   rules:
+    - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
+      when: never
+
 # Functions that should be executed before the build script is run
 
 variables: