[vlc-commits] [Git][videolan/vlc][master] CI: Do not start CI for Draft MRs
Steve Lhomme (@robUx4)
gitlab at videolan.org
Fri Jul 17 14:20:49 UTC 2026
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
2be07640 by Khalid Masum at 2026-07-17T11:51:49+00:00
CI: Do not start CI for Draft MRs
This can be utilized to prevent unnecessary usage of CI resources
for simple fixes like changing styles, removing whitespaces, or
code changes that is not important to check unless ready.
Those who need the checks can use the manual feature.
- - - - -
1 changed file:
- extras/ci/gitlab-ci.yml
Changes:
=====================================
extras/ci/gitlab-ci.yml
=====================================
@@ -135,6 +135,8 @@ variables:
.base-template:
stage: build
rules:
+ - if: '$CI_MERGE_REQUEST_DRAFT == "true"'
+ when: manual
- if: $CI_MERGE_REQUEST_IID
- if: '$CI_PIPELINE_SOURCE == "push" && $CI_PROJECT_PATH == "videolan/vlc"'
artifacts:
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/2be076408ac3ca71d2ddc693db73dc48f1c4d68f
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/2be076408ac3ca71d2ddc693db73dc48f1c4d68f
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help
More information about the vlc-commits
mailing list