module Octokit::Client::CommitPulls
def commit_pulls(repo, sha, options = {})
- See: https://developer.github.com/v3/repos/commits/#list-pull-requests-associated-with-commit -
Returns:
-
(Array)
- List of commit pulls
Parameters:
-
sha
(String
) -- The SHA of the commit whose pulls will be fetched -
repo
(Integer, String, Hash, Repository
) -- A GitHub repository
def commit_pulls(repo, sha, options = {}) paginate "#{Repository.path repo}/commits/#{sha}/pulls", options end