Skip to content

Commit 773936a

Browse files
Add option include_all_branches to template repo request (#1884)
1 parent 8751f3d commit 773936a

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

github/github-accessors.go

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

github/github-accessors_test.go

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

github/repos.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,8 @@ type TemplateRepoRequest struct {
385385
Owner *string `json:"owner,omitempty"`
386386
Description *string `json:"description,omitempty"`
387387

388-
Private *bool `json:"private,omitempty"`
388+
IncludeAllBranches *bool `json:"include_all_branches,omitempty"`
389+
Private *bool `json:"private,omitempty"`
389390
}
390391

391392
// CreateFromTemplate generates a repository from a template.

0 commit comments

Comments
 (0)