diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2023-03-14 10:22:48 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2023-03-14 17:25:40 +0000 |
commit | e45ca7b41dcd3ace7681d6897505f85d374640f2 (patch) | |
tree | 06133c4ee21107f21f10e0bce078cfa166f4a5fa | |
parent | 72eeeb6dedc39f68608312eb0001f77fffccd499 (diff) |
gitlab CI: add workflow rules
Needed due to the gitlab config changes described in:
https://gitlab.freedesktop.org/freedesktop/freedesktop/-/issues/438
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | .gitlab-ci.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c57df6c0..5e27abcb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -96,3 +96,12 @@ build: - make check - make distcheck - popd > /dev/null + +# +# Workflow rules needed due to: +# https://gitlab.freedesktop.org/freedesktop/freedesktop/-/issues/438 +# +workflow: + rules: + - if: $CI_PIPELINE_SOURCE == 'merge_request_event' + - if: $CI_PIPELINE_SOURCE == 'push' |