forked from NYANDEV/forgejo
Check if label template exist first (#14384)
* add check * refactor * rollback repo on error after session closed
This commit is contained in:
parent
127907c5e6
commit
2686e6bbbe
5 changed files with 40 additions and 33 deletions
|
@ -106,7 +106,7 @@ type CreateRepoOption struct {
|
|||
Description string `json:"description" binding:"MaxSize(255)"`
|
||||
// Whether the repository is private
|
||||
Private bool `json:"private"`
|
||||
// Issue Label set to use
|
||||
// Label-Set to use
|
||||
IssueLabels string `json:"issue_labels"`
|
||||
// Whether the repository should be auto-intialized?
|
||||
AutoInit bool `json:"auto_init"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue