Previously, GetPullRequests() returned any pull requests for the given commit. However we are only interested in pull requests that are targeting the repository's default branch. This change filters out any pull requests that target branches other than a repositories default branch. GitPullRequests() has been renamed to GetPullRequestsTargetingDefaultBranch() in order to reflect this change.
Previously,
GetPullRequests()
returned any pull requests for the given commit. However we are only interested in pull requests that are targeting the repository's default branch. This change filters out any pull requests that target branches other than a repositories default branch.GitPullRequests()
has been renamed toGetPullRequestsTargetingDefaultBranch()
in order to reflect this change.