Skip to content
GitLab
Explore
Sign in
Commits on Source (1)
fix: double pipelines
· 8ee65ce6
G.J.R. Timmer
authored
Jul 26, 2024
8ee65ce6
Hide whitespace changes
Inline
Side-by-side
templates/default.yml
View file @
8ee65ce6
...
...
@@ -8,6 +8,6 @@ workflow:
rules
:
# Do not create pipeline on branch commit when their is an open merge request
-
if
:
'
$CI_PIPELINE_SOURCE
==
"merge_request_event"'
-
if
:
"
$CI_COMMIT_BRANCH
&&
$CI_OPEN_MERGE_REQUESTS
"
-
if
:
'
$CI_COMMIT_BRANCH
!=
$CI_DEFAULT_BRANCH
&&
$CI_OPEN_MERGE_REQUESTS
'
when
:
never
-
when
:
always