+
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions github/pulls.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,12 @@ func (s *PullRequestsService) List(ctx context.Context, owner string, repo strin
return pulls, resp, nil
}

// ListPullRequestsWithCommit returns pull requests associated with a commit SHA.
// ListPullRequestsWithCommit returns pull requests associated with a commit SHA
// or branch name.
//
// The results may include open and closed pull requests.
// By default, the PullRequestListOptions State filters for "open".
// The results may include open and closed pull requests. If the commit SHA is
// not present in the repository's default branch, the result will only include
// open pull requests.
//
// GitHub API docs: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit
//
Expand Down
Loading
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载