Replies: 2 comments 4 replies
-
You can comment on MR with following code: gl = # init and auth main Gitlab object
project = gl.projects.get(project_id)
mr = project.mergerequests.get(mr_iid)
mr.discussions.create({"body": "New comment"}) where see more at https://python-gitlab.readthedocs.io/en/stable/gl_objects/discussions.html#examples |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'd like to use API to set MR to auto-approve, something like |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I want to comment a MR from python script
but I didn't find any mentions for that, do you have an idea?
Beta Was this translation helpful? Give feedback.
All reactions