We have a group (with 3 people) auto-added to pull requests, and want the auto-merge to require one member of the group plus one other person (somebody not in the group).
We tried to accomplish this with "approvalQuota >= 100% & groupQuota >= 1", however the approvalQuota also applied to all members of the group.
Is there a way to make this work?
Thanks!
Try adding that other person as a mandatory reviewer. Then also set the approvalQuota to a small value (say 10%). Workzone will check if at least one person from the group has approved AND if the mandatory reviewer has approved.
In our case, it's up to the user submitting the pull request to add the other person. It could be whoever they want, probably usually whoever did their code review or just somebody on their team or something like that.
The way it works makes sense in retrospect, but we mistakenly thought that approvalQuota included individuals who are not a part of a group. That might be worth clarifying in the documentation.
We were able to get it to work more or less OK for us now by using "groupQuota >= 1" along with the built-in requirement that pull requests be approved by two people. So now they have to have at least two approvals, and at least one of those has to be from our group.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.