-
Branch/tag protection rules can be inherited from parent projects. Just define appropriate branch protection rules for a parent project, and then import/create other projects under that parent project.
-
Actually, we are using the parent project as group and not adding any code or branches. Do we need to create the blank branches and create rules for it?
-
Just define branch protection rules will be fine. No need to create blank branches. The code management option can even be disabled.
-
ok, Thanks for your response.
-
Previous Value Current Value Open
Closed
-
.
| Type |
Question
|
| Priority |
Major
|
| Assignee | |
| Labels |
No labels
|
Issue Votes (0)
Is there a feature available that allows for the automatic addition of branch protection rules ((inside a group or parent project)) on the default branch when a new repository is created or an existing repository is migrated?
when creating a new repository or migrating an existing one into Onedev, there is no option to automatically set branch protection rules for the default branch. This feature would enhance security and workflow consistency by ensuring that default branch protection is applied uniformly across all repositories.