Loading
feat: more usernames support for MR approvals
I don't think commit a2b8c8cc went far enough to enable usernames support. We create and edit a lot of approval rules based on an external service (similar to CODE_OWNERS), but only have the usernames available, and currently, have to look up each user to get their user ID to populate user_ids for .set_approvers() calls. Would very much like to skip the lookup and just send the usernames, which this change should allow. See: https://docs.gitlab.com/ee/api/merge_request_approvals.html#create-project-level-rule Signed-off-by:Jarod Wilson <jarod@redhat.com>