From 5f8a34c51db50b92b2d231dccca38515f2a80cd8 Mon Sep 17 00:00:00 2001 From: tusooa Date: Fri, 28 Apr 2023 18:20:44 -0400 Subject: [PATCH] Run merge request pipelines instead of two different ones --- .gitlab-ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d6ba7f9a..2b4452d5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,6 +10,14 @@ stages: - test - deploy +# https://git.pleroma.social/help/ci/yaml/workflow.md#switch-between-branch-pipelines-and-merge-request-pipelines +workflow: + rules: + - if: $CI_PIPELINE_SOURCE == "merge_request_event" + - if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS + when: never + - if: $CI_COMMIT_BRANCH + check-changelog: stage: check-changelog image: alpine