Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional options name, default_branch_only for create a fork #2448

Merged
merged 2 commits into from Aug 31, 2022

Conversation

valbeat
Copy link
Contributor

@valbeat valbeat commented Aug 31, 2022

resolves #2447

@google-cla
Copy link

google-cla bot commented Aug 31, 2022

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@valbeat valbeat marked this pull request as draft August 31, 2022 18:46
@valbeat valbeat marked this pull request as ready for review August 31, 2022 18:56
@@ -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"`
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@codecov
Copy link

codecov bot commented Aug 31, 2022

Codecov Report

Merging #2448 (47ba7fc) into master (243bda8) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2448   +/-   ##
=======================================
  Coverage   98.03%   98.03%           
=======================================
  Files         122      122           
  Lines       10690    10690           
=======================================
  Hits        10480    10480           
  Misses        144      144           
  Partials       66       66           
Impacted Files Coverage Δ
github/repos_forks.go 92.30% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Collaborator

@gmlewis gmlewis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @valbeat !
LGTM.
Merging.

@gmlewis gmlewis merged commit 10669e6 into google:master Aug 31, 2022
@valbeat
Copy link
Contributor Author

valbeat commented Sep 1, 2022

Thank you, @gmlewis !

@valbeat valbeat deleted the add-options-create-fork branch September 1, 2022 02:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Additional options name, default_branch_only for create a fork
2 participants