Configuring branch protection #26

Closed
opened 2023-09-17 16:55:15 +00:00 by volker.raschek · 4 comments
Member

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

**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
volker.raschek added the enhancement label 2023-09-17 16:55:15 +00:00
Contributor

I will work on this.

I will work on this.
Contributor

opened a pr on this #72

opened a pr on this https://gitea.com/gitea/terraform-provider-gitea/pulls/72
Author
Member

Hi @venc0r, what happens now with your pull request? Can one of the maintainers take a look at the patch?

FYI: @techknowlogick

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 :)

Thanks for the ping. I've just reviewed/tested & merged it :)
Sign in to join this conversation.
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: gitea/terraform-provider-gitea#26