diff --git a/github/repos_forks.go b/github/repos_forks.go index 97bb328ffb4..8a88aad618e 100644 --- a/github/repos_forks.go +++ b/github/repos_forks.go @@ -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.