Commit graph

3 commits

Author SHA1 Message Date
Daniel Michelin
0a634a4932
CI: check_mr_settings: disallow squashing commits (!464) 2019-06-26 21:55:47 +02:00
Oliver Smith
3030c00ba2
CI: check_mr_settings.py: fix check for same repo (!255)
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.
2019-03-05 09:00:23 +01:00
Oliver Smith
e8a7926eb6
CI: check if maintainers can write to MR branch (!248)
Check if users activated the 'Allow commits from members who can merge
to the target branch' option in their MRs.

Add the "only" parameter to each job in .gitlab.yml, so the pipeline
can properly run in a "merge request specific context" and give us the
environment variable that contains the MR ID.
2019-02-28 17:54:27 +01:00