diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2023-04-16 10:19:22 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2023-04-16 10:19:22 +0100 |
commit | 47ec81544f213af21aa7ffba3ca3203a67238de7 (patch) | |
tree | 3a64ff6d153db39d3084475a0c87b012cd655e31 | |
parent | 8322ef3733bb1b0ea45cec6d654e12ae6a6fc498 (diff) | |
download | cairo-47ec81544f213af21aa7ffba3ca3203a67238de7.tar.gz |
ci: add some more workflow rules
cargo-culted from the ci-templates template.
-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 01759778e..894650d75 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,6 +5,14 @@ include: ref: '88ed1082df2af02090916566742543f1dbaee988' file: '/templates/fedora.yml' +# From https://gitlab.freedesktop.org/freedesktop/ci-templates/-/blob/master/src/gitlab-ci.tmpl +workflow: + rules: + - if: '$CI_PIPELINE_SOURCE == "merge_request_event"' + - if: '$CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS' + when: never + - if: $CI_COMMIT_BRANCH + variables: FDO_UPSTREAM_REPO: 'cairo/cairo' FDO_DISTRIBUTION_VERSION: '34' |