Skip to content

Conversation

@Bullrich
Copy link
Contributor

@Bullrich Bullrich commented Apr 5, 2023

From the documentation:

GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the pull_request key. Be aware that the id of a pull request returned from "Issues" endpoints will be an issue id.

This commit filters objects that have a pull_request object

@Bullrich Bullrich requested review from mordamax and rzadp April 5, 2023 11:17
@Bullrich Bullrich requested a review from a team as a code owner April 5, 2023 11:17
@Bullrich Bullrich merged commit 0dbdc4b into main Apr 5, 2023
@Bullrich Bullrich deleted the bullrich/fix-prs-in-summary branch April 5, 2023 11:21
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.

3 participants