-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Open
Labels
type/featureCompletely new functionality. Can only be merged if feature freeze is not active.Completely new functionality. Can only be merged if feature freeze is not active.type/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.
Description
Feature Description
I'd like to set up a repository like this
- Branch
main
is protected and can only be changed through pull requests - For new features developers create a branch
dev-*
and work with it until reviewed and merged - No other branches can be created (e.g.,
main2
,my-feature
) - Features branches
dev-*
are deleted after merging
With the implementation of #20825 items 1-3 can be achieved with (wildcard) protected branches main
, dev-*
and *
. However, deleting the dev-*
won't be possible as the branches are protected. Therefore stale feature branches would accumulate over time.
It would be great if we have the option to protected all branches except ... or to allow deleting protected branches by whitelisted users.
Screenshots
No response
Metadata
Metadata
Assignees
Labels
type/featureCompletely new functionality. Can only be merged if feature freeze is not active.Completely new functionality. Can only be merged if feature freeze is not active.type/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.