Skip to content

that's a test

I try to do the same with python-gitlab

from gitlab import Gitlab
_gitlab_obj = Gitlab(url="https://gitlab.freedesktop.org", private_token=GITLAB_TOKEN)
_project_obj = _gitlab_obj.projects.get("sergi/ci-uprev")
_main_project_obj = _gitlab_obj.projects.get("gfx-ci/ci-uprev")
_mergerequest_obj = _project_obj.mergerequests.create({'source_branch': 'test_mr_source', 'target_branch': 'test_mr_target', 'target_project_id': _main_project_obj.id, 'title': 'test python-gitlab MR from fork to principal', 'remove_source_branch': True, 'squash': True, 'allow_collaboration': True})

But I've got a GitlabCreateError: 403: 403 Forbidden

Merge request reports