diff options
author | Daniel M. Capella <polyzen@archlinux.org> | 2022-05-05 18:17:12 -0400 |
---|---|---|
committer | Daniel M. Capella <polyzen@archlinux.org> | 2022-05-05 18:19:07 -0400 |
commit | a0b1d8e18035ed9ae7a6a33360561dde2f2397b8 (patch) | |
tree | 70030f69d173cf4d2492222ef31a4dc57c2f3f76 | |
parent | b05ed44f8773f67dde720492f3618bca83041d8c (diff) |
CI: Enable for merge requests
Signed-off-by: Daniel M. Capella <polyzen@archlinux.org>
-rw-r--r-- | .gitlab-ci.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index eb43ca4..e2f3698 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,3 +6,8 @@ test: - ./configure - make script: make check + rules: + - if: '$CI_PIPELINE_SOURCE == "merge_request_event"' + - if: '$CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS && $CI_PIPELINE_SOURCE == "push"' + when: never + - if: '$CI_COMMIT_BRANCH && $CI_PIPELINE_SOURCE == "push"' |