Configuring branch protection #26

Open
opened 2023-09-17 16:55:15 +00:00 by volker.raschek · 0 comments

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
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: gitea/terraform-provider-gitea#26
No description provided.