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 #