diff --git a/extras/ci/gitlab-ci.yml b/extras/ci/gitlab-ci.yml index 3b5b829f127c..516b77d38b27 100644 --- a/extras/ci/gitlab-ci.yml +++ b/extras/ci/gitlab-ci.yml @@ -118,8 +118,8 @@ variables: .base-template: stage: build rules: - - if: '$CI_PIPELINE_SOURCE == "merge_request_event"' - - if: '$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == "master@videolan/vlc"' + - if: $CI_MERGE_REQUEST_IID + - if: '$CI_PIPELINE_SOURCE == "push" && $CI_PROJECT_PATH == "videolan/vlc"' artifacts: paths: - contrib/vlc-contrib-${TRIPLET}-*.tar.bz2