diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index afa2263ab7163af0e6bae8b8b717f953d7ba7ee7..c641c779d116601d90b1c4c3b184c4feae2684f1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,7 +1,15 @@
 include:
   - remote: https://open.greenhost.net/stackspin/stackspin/-/raw/main/.gitlab/ci_templates/helm_package.yml
   - remote: https://open.greenhost.net/stackspin/stackspin/-/raw/main/.gitlab/ci_templates/dummy_job.yml
-  - template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml'
+
+workflow:
+  rules:
+  # Run for merge requests.
+  - if: $CI_MERGE_REQUEST_IID
+  # Run for tags.
+  - if: $CI_COMMIT_TAG
+  # Run when created from the Gitlab web UI ("Run pipeline").
+  - if: '$CI_PIPELINE_SOURCE == "web"'
 
 .use_kubernetes:
   image: