Manage merge requests

gl_create_merge_request(
  project,
  source_branch,
  target_branch = get_main(),
  title,
  description,
  ...
)

gl_edit_merge_request(project, merge_request_iid, ...)

gl_close_merge_request(project, merge_request_iid)

gl_delete_merge_request(project, merge_request_iid, ...)

gl_list_merge_requests(project, ...)

Arguments

project

name or id of project (not repository!)

source_branch

name of branch to be merged

target_branch

name of branch into which to merge

title

title of the merge request

description

description text for the merge request

...

passed on to gitlab(). Might contain more fields documented in GitLab API doc.

merge_request_iid

iid of the merge request

Value

Tibble of created or remaining merge requests of the project with informative variables.

Examples