mirror of
https://codeberg.org/davrot/forgejo.git
synced 2025-05-17 23:00:02 +02:00
Support copy protected branch from template repository (#25889)
Fix #14303
This commit is contained in:
parent
2b6f224336
commit
037c9895a7
8 changed files with 86 additions and 38 deletions
|
@ -238,6 +238,8 @@ type GenerateRepoOption struct {
|
|||
Avatar bool `json:"avatar"`
|
||||
// include labels in template repo
|
||||
Labels bool `json:"labels"`
|
||||
// include protected branches in template repo
|
||||
ProtectedBranch bool `json:"protected_branch"`
|
||||
}
|
||||
|
||||
// CreateBranchRepoOption options when creating a branch in a repository
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue