Commit 87bfb302 authored by Olivier Crête's avatar Olivier Crête

gitlab-ci: Try to disable CI on non-MR/non-master branches

parent 91e13693
...@@ -7,7 +7,8 @@ stages: ...@@ -7,7 +7,8 @@ stages:
workflow: workflow:
rules: rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"' - 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: default:
image: registry.freedesktop.org/libnice/libnice/centos7/meson-build image: registry.freedesktop.org/libnice/libnice/centos7/meson-build
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment