ci: fix duplicate pipelines

This commit is contained in:
jo 2023-04-05 20:42:25 +02:00 committed by jooola
parent ba120bf7c1
commit 0f8393e156
1 changed files with 3 additions and 0 deletions

View File

@ -64,6 +64,9 @@ workflow:
$CI_COMMIT_BRANCH =~ /(stable|develop)/ || $CI_COMMIT_BRANCH =~ /(stable|develop)/ ||
$CI_COMMIT_TAG $CI_COMMIT_TAG
) )
# Never run for branches that have an open merge request
- if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS
when: never
# Run for merge requests from any repo or branches # Run for merge requests from any repo or branches
- if: $CI_PIPELINE_SOURCE == "merge_request_event" - if: $CI_PIPELINE_SOURCE == "merge_request_event"