Commit a11a5d9a authored by Laurent Peuch's avatar Laurent Peuch
Browse files

ci: try to avoid duplicated pipelines

parent 322a5335030f
Pipeline #37986 passed with stages
in 4 minutes and 37 seconds
image: python:latest
# avoid running duplicate pipelines for both topic head and MR
# with gitlab 13.8, $CI_OPEN_MERGE_REQUESTS will become available and improve this
# see: https://docs.gitlab.com/ee/ci/yaml/#switch-between-branch-pipelines-and-merge-request-pipelines
workflow:
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
- if: '$CI_COMMIT_REF_NAME =~ /^topic\/.*/'
when: never
- when: always
stages:
- lint
- tests
......
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