diff options
| author | tusooa <tusooa@kazv.moe> | 2023-04-28 18:20:44 -0400 |
|---|---|---|
| committer | tusooa <tusooa@kazv.moe> | 2023-04-28 18:20:44 -0400 |
| commit | 5f8a34c51db50b92b2d231dccca38515f2a80cd8 (patch) | |
| tree | 3609688455b7b4817ee4f4b2123db419fc1beba6 /.gitlab-ci.yml | |
| parent | cd5d0a8b641248c82ad2fe6b613a61f2528ef042 (diff) | |
Run merge request pipelines instead of two different ones
Diffstat (limited to '.gitlab-ci.yml')
| -rw-r--r-- | .gitlab-ci.yml | 8 |
1 files changed, 8 insertions, 0 deletions
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 |
