diff options
author | Olivier CrĂȘte <olivier.crete@collabora.com> | 2021-11-02 12:46:06 -0400 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2021-11-02 12:42:01 -0600 |
commit | 87bfb30280d738db6270646c76de47e973ffa890 (patch) | |
tree | 0f734b77b9ee97aded91d3526253801a6fb35697 | |
parent | 91e1369365dfeed19fec8a76605932f0f18d234b (diff) | |
download | libnice-87bfb30280d738db6270646c76de47e973ffa890.tar.gz |
gitlab-ci: Try to disable CI on non-MR/non-master branches
-rw-r--r-- | .gitlab-ci.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 28f27b4..656f5d7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,7 +7,8 @@ stages: workflow: rules: - if: '$CI_PIPELINE_SOURCE == "merge_request_event"' - - if: '$CI_COMMIT_BRANCH' + - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH + - if: $CI_COMMIT_BRANCH == 'latest-release' default: image: registry.freedesktop.org/libnice/libnice/centos7/meson-build |