Commit ba9d8f5d authored by Thomas Braun's avatar Thomas Braun
Browse files

Merge branch 'fix-duplicated-pipelines' into 'main'

.gitlab-ci.yml: Prevent duplicated pipelines

See merge request !15
parents c8033330 b4fcdca6
Loading
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -10,6 +10,13 @@ variables:
    DEBIAN_FRONTEND: noninteractive
    CMAKE_BUILD_TYPE: Debug

# See: https://docs.gitlab.com/ce/ci/yaml/README.html#workflowrules-templates
workflow:
  rules:
    - if: $CI_MERGE_REQUEST_IID
    - if: $CI_COMMIT_TAG
    - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH

# Not possible with parallel, see https://gitlab.com/gitlab-org/gitlab/-/issues/254821
.build-cppTango-template: &build-cppTango-template
  image: debian:bullseye