You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given a branch protection rule with a wildcard like "release/**" and "disabled push",
as a developer without administrator privileges, I want to be able to create a new branch called release/whatever with the branch creation UI in gitea, as long as no such branch exists.
currently I get the error:
"Gitea: Not allowed to push to protected branch release/whatever"
I want the branch protection to protect existing branches only, while beeing able to create new branches, that once created automatically get the protection.
If necessary it could also be a configurable option, if the branch protection is applied to new branches.
Screenshots
No response
The text was updated successfully, but these errors were encountered:
If this gets implemented, it should be made configurable. I'm using a branch protection for pattern *'* to prevent users from creating branches containing a ', because that causes issues in our CI system. Or an alternative solution should be provided to handle that requirement of enforcing naming conventions for branches.
Feature Description
Given a branch protection rule with a wildcard like "release/**" and "disabled push",
as a developer without administrator privileges, I want to be able to create a new branch called release/whatever with the branch creation UI in gitea, as long as no such branch exists.
currently I get the error:
"Gitea: Not allowed to push to protected branch release/whatever"
I want the branch protection to protect existing branches only, while beeing able to create new branches, that once created automatically get the protection.
If necessary it could also be a configurable option, if the branch protection is applied to new branches.
Screenshots
No response
The text was updated successfully, but these errors were encountered: