From 104cd496005957088d6521ec969948d49274c9da Mon Sep 17 00:00:00 2001 From: Arkerthan <arkerthan@gmail.com> Date: Mon, 14 Dec 2020 12:07:26 +0100 Subject: [PATCH] Only start pipelines if we are on the main branch, at a git tag or a merge request. --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9561b0cf61a..56cc5dd6ad5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,3 +1,7 @@ +# only start pipelines if we are on the main branch, at a git tag or a merge request. +include: + - template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml' + stages: - lint -- GitLab