Commit ed0ecc21 authored by Bob Van Landuyt's avatar Bob Van Landuyt 💬
Browse files

Add the triggers to .gitlab-ci.yml

This allows us to use merge trains as described in
https://docs.gitlab.com/ee/ci/merge_request_pipelines/pipelines_for_merged_results/merge_trains/index.html#enable-merge-trains

The trigger that matters here is the one for merge requests.
parent 9c3e8367
Loading
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
workflow:
  rules:
    # For merge requests, create a pipeline.
    - if: '$CI_MERGE_REQUEST_IID'
    # For `master` branch, create a pipeline (this includes on schedules, pushes, merges, etc.).
    - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
    # For tags, create a pipeline.
    - if: '$CI_COMMIT_TAG'

.test_template: &test_definition
  stage: test
  script: