Skip to content

CI: check_mr_settings.py: fix check for same repo

Oliver Smith requested to merge fix/ci-mr-from-same-repo into master

Do not crash when a MR was made from the same repository, because the "allow_maintainer_to_push" key does not exist in the GitLab API's output. Check first if the "source_project_id" is the same as the "target_project_id", and if it is, do not try to access "allow_maintainer_to_push" at all.

Merge request reports