commit: 5f8a34c51db50b92b2d231dccca38515f2a80cd8
parent cd5d0a8b641248c82ad2fe6b613a61f2528ef042
Author: tusooa <tusooa@kazv.moe>
Date: Fri, 28 Apr 2023 18:20:44 -0400
Run merge request pipelines instead of two different ones
Diffstat:
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git 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