About PR approvals

I found the project very interesting. But there is a feature that I find useful and seems to be missing from Gitea. On Github we can limit Merge to X approvals.

An example of this would be for documentation that needs quorum. We can define that a PR can only be merged if it has 51% of approvers that are part of that repository. This is slightly different from Github, but similar and better for other use cases.

This can be done using branch protection, more or less.
Although you can’t define a percentage, you can require a number of approvals before merging to the branch.

2 Likes

I see! thank you!

it was exactly what I wanted, I accidentally didn’t notice that I had this setting there. I thought everything would be in general settings.

The percentage stays as a suggestion.

Cheers!