ci: fix duplicate pipelines
This commit is contained in:
parent
ba120bf7c1
commit
0f8393e156
|
@ -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"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue