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

Get pulls by commit sha #2896

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open

Get pulls by commit sha #2896

wants to merge 13 commits into from

Conversation

OksanaTka
Copy link

@OksanaTka OksanaTka commented Feb 6, 2024

This pull request introduces a new method get_commit_pulls to the Repository class within the PyGithub library.
The purpose of this addition is to provide a convenient way for users to retrieve pull requests associated with a specific commit SHA, enhancing the library's functionality and aligning it more closely with the GitHub API's capabilities.

@codecov-commenter
Copy link

codecov-commenter commented Feb 6, 2024

Codecov Report

Attention: Patch coverage is 33.33333% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 96.70%. Comparing base (0b8435f) to head (85a62bc).

Files Patch % Lines
github/Repository.py 33.33% 2 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2896      +/-   ##
==========================================
- Coverage   96.71%   96.70%   -0.02%     
==========================================
  Files         147      147              
  Lines       14877    14880       +3     
==========================================
+ Hits        14388    14389       +1     
- Misses        489      491       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

This function follows the structure and conventions used within the PyGithub library for interacting with the GitHub API.
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.

Can we add a test for this?

@EnricoMi
Copy link
Collaborator

@OksanaTka?

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