Skip to content

docs: Clarify ListPullRequestsWithCommit usage #3465

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

Merged

Conversation

evanelias
Copy link
Contributor

The docs for ListPullRequestsWithCommit mention use of PullRequestListOptions, but this method no longer accepts PullRequestListOptions per #2815 and #2822.

This pull request updates the method doc comment to remove the outdated reference to PullRequestListOptions, and adds some clarifications based on the GitHub docs for the relevant API endpoint.

The docs for ListPullRequestsWithCommit mention use of PullRequestListOptions,
but this method no longer accepts PullRequestListOptions per google#2815 and google#2822.

This commit updates the method doc comment to remove the outdated reference
to PullRequestListOptions, and adds some clarifications based on the GitHub
docs for the relevant API endpoint.
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, @evanelias!
LGTM.
Merging.

@gmlewis gmlewis changed the title docs: clarify ListPullRequestsWithCommit usage docs: Clarify ListPullRequestsWithCommit usage Feb 5, 2025
Copy link

codecov bot commented Feb 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.03%. Comparing base (a4333f3) to head (bd4212e).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3465   +/-   ##
=======================================
  Coverage   91.03%   91.03%           
=======================================
  Files         179      179           
  Lines       15538    15538           
=======================================
  Hits        14145    14145           
  Misses       1221     1221           
  Partials      172      172           

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

@gmlewis gmlewis merged commit 24b0795 into google:master Feb 6, 2025
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.

2 participants