Skip to content

Commit

Permalink
Add create fork options
Browse files Browse the repository at this point in the history
  • Loading branch information
valbeat committed Aug 31, 2022
1 parent 243bda8 commit 2acb13a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion github/repos_forks.go
Expand Up @@ -53,7 +53,9 @@ func (s *RepositoriesService) ListForks(ctx context.Context, owner, repo string,
// RepositoriesService.CreateFork method.
type RepositoryCreateForkOptions struct {
// The organization to fork the repository into.
Organization string `url:"organization,omitempty"`
Organization string `url:"organization,omitempty"`
Name string `url:"name,omitempty"`
DefaultBranchOnly string `url:"default_branch_only,omitempty"`
}

// CreateFork creates a fork of the specified repository.
Expand Down

0 comments on commit 2acb13a

Please sign in to comment.