Skip to content

Improve robustness when multiple approvals are required #43

Description

@fbpe

Right now ucascade checks the approvals_left value right after approving the MR. In case the MR needs multiple approvals, this might not give enough time for Gitlab to report the correct value, as the MR might still be in approvals_syncing status. This results in the MR getting stuck open due to missing approvals.

What we should do is to move the isMergeRequestApproved check to after the waiting loop for the MR being ready.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions