Closed
Description
One missing feature from gogs is a way to protect branches like Github does.
After the completion of the API implementation, we could easily add application like Drone to check the PR.
The UI need to be changed to add options to protect branches like this:
I suggest to add some columns in table (don't know how many yet) to store those options.
The "Merge" button from a PR should be activated is the conditions are not matched.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.