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

Add new create_fork arguments #2493

Conversation

JLLeitschuh
Copy link
Collaborator

Adds support for new create_fork arguments:

  • name - To set the name of the fork on creation
  • default_branch_only - To only include the default branch

Signed-off-by: Jonathan Leitschuh Jonathan.Leitschuh@gmail.com

Copy link
Collaborator

@EnricoMi EnricoMi left a comment

Choose a reason for hiding this comment

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

LGTM!

@codecov-commenter
Copy link

codecov-commenter commented May 19, 2023

Codecov Report

Patch coverage: 83.33% and no project coverage change.

Comparison is base (8e8cfb3) 98.65% compared to head (bc29ec4) 98.66%.

❗ Current head bc29ec4 differs from pull request most recent head c402c54. Consider uploading reports for the commit c402c54 to get more accurate results

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2493   +/-   ##
=======================================
  Coverage   98.65%   98.66%           
=======================================
  Files         117      117           
  Lines       11787    11778    -9     
=======================================
- Hits        11629    11621    -8     
+ Misses        158      157    -1     
Impacted Files Coverage Δ
github/Repository.py 97.20% <71.42%> (-0.06%) ⬇️
github/AuthenticatedUser.py 99.04% <100.00%> (ø)
github/Organization.py 98.82% <100.00%> (-0.01%) ⬇️

... and 4 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Adds support for new `create_fork` arguments:
 - `name` - To set the name of the fork on creation
 - `default_branch_only` - To only include the default branch

Signed-off-by: Jonathan Leitschuh <Jonathan.Leitschuh@gmail.com>
@JLLeitschuh JLLeitschuh force-pushed the feat/JLL/support-new-create_fork-arguments branch from bc29ec4 to c402c54 Compare May 23, 2023 14:24
@EnricoMi EnricoMi merged commit b94a83c into PyGithub:master May 23, 2023
7 checks passed
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.

None yet

3 participants