[go: up one dir, main page]

Skip to content

Modify "merge_status" or add additional attribute in Merge Request API to include approvers and jobs status

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Problem to solve

When using the Merge Requests API, "merge_status" could be true even when there's a failed pipeline or the merge request does not have enough approvers. This status doesn't take into consideration whether the merge request has been approved or if the pipeline has succeeded since it's just checking to see if git can merge this merge request. It would be helpful to either modify this status or add an additional status for checking if the merge request can be accepted. It would be helpful for programmatically accepting merge requests without having to do additional checks for approvals or CI APIs.

Links / references

https://gitlab.zendesk.com/agent/tickets/120775

Edited by 🤖 GitLab Bot 🤖