3030c00ba2116a08c69e88dcc6097b6d90f2ed47
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.
postmarketOS aports
Helpful resources:
Languages
Shell
95.8%
Python
2.5%
C
1.2%
Batchfile
0.3%
Jinja
0.2%