From 09bf53a6ad6ad061af15d8d25597efa6bb580027 Mon Sep 17 00:00:00 2001 From: Zygmunt Krynicki <zygmunt.krynicki@huawei.com> Date: Fri, 15 Oct 2021 22:17:19 +0200 Subject: [PATCH] .gitlab-ci.yml: include pipelines for merge requests This template is offered by GitLab to enable pipelines for merge requests, a safety feature that avoids breaking the default branch by merging things that passed in the past. Reference: https://docs.gitlab.com/ee/ci/pipelines/merge_request_pipelines.html Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com> --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 83f35ca6..78f91ce3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -29,6 +29,7 @@ include: - local: '/.oniro-ci/build-generic.yaml' - local: '/.oniro-ci/test-generic.yaml' - local: '/.oniro-ci/machines-and-flavours.yaml' + - template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml' dco: extends: .dco -- GitLab