diff options
-rw-r--r-- | gitlab/ci_template.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gitlab/ci_template.yml b/gitlab/ci_template.yml index e09faa8..1560bf1 100644 --- a/gitlab/ci_template.yml +++ b/gitlab/ci_template.yml @@ -404,6 +404,20 @@ check commits: - 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 # .gst_build_template: &gst_build |