Commit 52c83621 authored by Julien Osman's avatar Julien Osman
Browse files

Merge branch 'gitlab-ci-avoid-duplicated-pipelines' into 'develop'

Update gitlab-ci.yml with workflow rules to avoid duplicat pipelines

See merge request !829
parents 0049cd73 2d59efb9
Pipeline #8127 passed with stages
in 5 minutes and 1 second
......@@ -38,6 +38,13 @@ variables:
# The fetch strategy fails with LFS and GitLab
GIT_STRATEGY: "clone"
workflow:
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
- if: '$CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS'
when: never
- if: '$CI_COMMIT_BRANCH'
stages:
- precheck
- prepare
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment