Run merge request pipelines instead of two different ones

This commit is contained in:
tusooa 2023-04-28 18:20:44 -04:00
parent cd5d0a8b64
commit 5f8a34c51d
No known key found for this signature in database
GPG Key ID: 7B467EDE43A08224
1 changed files with 8 additions and 0 deletions

View File

@ -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