Skip to content

v1.3.0 Prefer PR with Commit as HEAD

Compare
Choose a tag to compare
@8BitJonny 8BitJonny released this 28 Nov 20:21
· 345 commits to master since this release
0a46d94

Version 1.3.0 adds a small functionality useful when the requested commit is present in multiple PRs.
In that case, we now try to find the PR which has the requested commit as its current HEAD and return this PR info.
If no PR has the commit as its HEAD, we just return the first PR from the Github API result.

#25 Thanks for @PetrHeinz for the contribution