From: Jordan Petridis Date: Fri, 27 Nov 2020 01:05:11 +0000 (+0200) Subject: ci_template: job to complain about allow-edit X-Git-Tag: 1.19.3~497^2~49 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=38c16db9ba6ee43e7d401e70cd9c2fee07843a56;p=platform%2Fupstream%2Fgstreamer.git ci_template: job to complain about allow-edit Make sure merge requests have enabled the "allow-edit" option in the MR so we can rebase them. Close gstreamer/gstreamer-project#34 Part-of: --- diff --git a/gitlab/ci_template.yml b/gitlab/ci_template.yml index e09faa8bbe..1560bf1f2e 100644 --- a/gitlab/ci_template.yml +++ b/gitlab/ci_template.yml @@ -403,6 +403,20 @@ check commits: script: - ci-fairy check-commits --textwidth 0 --no-signed-off-by +# +# Check "allow-edit" checkbox on merge requests with ci-fairy +# +check allow-edit: + extends: '.fdo.ci-fairy' + needs: [] + stage: 'preparation' + variables: + GIT_STRATEGY: 'none' + script: + - ci-fairy check-merge-request --require-allow-collaboration + rules: + - if: '$CI_PIPELINE_SOURCE == "merge_request_event"' + # # gst-build setup templates #