We’re getting some more members into the team and are adjusting our permissions. It’s an open source project within an organization with some admins. But also some maintainers that help with reviews, merging, releases, etc.
We have a basic rule to have 2 required approvals on protected branches (master, dev, release/, hotfix/).
However we want to give some of the maintainers (or all of them , doesn’t really matter for this question), permission to merge regardless of approvals.
The reason for this is that
- sometimes a hotfix is needed to master quickly and we can’t wait 1 or 2 days for all the approvals to
- sometimes we need to do git flow stuff like merge a release branch back into dev or a hotfix branch into master, but also back into dev and possible into a release branch.
So sometimes for 1 change you need 2 or 3 PRs each with 2 or 3 approvals, which makes it a pain to manage. We would like to allow (some) maintainers to do this maintenance kind of stuff.
From the permission help page it seems this is not possible? The only option seems to be to make the maintainers admin of the repo, which would be taking it too far permission wise.
Anything I’m missing? Alternative approaches?