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