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: <https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/304>
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
#