Skip to content
  • Oliver Smith's avatar
    CI: check_mr_settings.py: fix check for same repo (!255) · 3030c00b
    Oliver Smith authored
    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.
    3030c00b