Configuring branch protection #26
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Is your feature request related to a problem? Please describe.
I have something like 150 git repositories in my gitea instance. I don't want to configure all the repositories via GUI anymore, because this is very error-prone. For this reason I evaluated this gitea provider and found out that I am missing one essential feature - the configuration of branch protections.
In particular, I am currently still using drone as CI and renovate as dependency bot. With the upgrade to the latest renovate version and gitea, MRs were automatically accepted without status checks. Most projects have the same CI/CD steps thanks to git repo template. That is, the naming is identical.
Through the terraform provider I would like to enable branch protection and the corresponding status checks to prevent automerge without CI/CD checks.
Please extend the terraform provider to configure branch protection
I will work on this.
opened a pr on this #72
Hi @venc0r, what happens now with your pull request? Can one of the maintainers take a look at the patch?
FYI: @techknowlogick
Thanks for the ping. I've just reviewed/tested & merged it :)