Pulls
WebService::GitHub::Pulls
Check if a pull request has been merged
WebService::GitHub::Pulls.check-if-merged( Str $owner
, Str $repo
, Int(Str) $pull-number
)
Create a pull request
See pulls/create
WebService::GitHub::Pulls.create( Str $owner
, Str $repo
, Bool :$draft
, Str :$head!
, Str :$body
, Int(Str) :$issue
, Bool :$maintainer-can-modify
, Str :$title
, Str :$base!
)
Get a pull request
See pulls/get
WebService::GitHub::Pulls.get( Str $owner
, Str $repo
, Int(Str) $pull-number
)
List pull requests
See pulls/list
WebService::GitHub::Pulls.list( Str $owner
, Str $repo
, WebService::GitHub::Pulls::ListState :$state
, Str :$head
, Str :$base
, WebService::GitHub::Pulls::ListSort :$sort
, WebService::GitHub::Pulls::ListDirection :$direction
, Int(Str) :$per-page
, Int(Str) :$page
)
List commits on a pull request
WebService::GitHub::Pulls.list-commits( Str $owner
, Str $repo
, Int(Str) $pull-number
, Int(Str) :$per-page
, Int(Str) :$page
)
List pull requests files
See pulls/list-files
WebService::GitHub::Pulls.list-files( Str $owner
, Str $repo
, Int(Str) $pull-number
, Int(Str) :$per-page
, Int(Str) :$page
)
Merge a pull request
See pulls/merge
WebService::GitHub::Pulls.merge( Str $owner
, Str $repo
, Int(Str) $pull-number
, Str :$sha
, WebService::GitHub::Pulls::MergeMergeMethod :$merge-method
, Str :$commit-title
, Str :$commit-message
)
Update a pull request
See pulls/update
WebService::GitHub::Pulls.update( Str $owner
, Str $repo
, Int(Str) $pull-number
, Str :$base
, Str :$title
, Bool :$maintainer-can-modify
, WebService::GitHub::Pulls::UpdateState :$state
, Str :$body
)
Update a pull request branch
WebService::GitHub::Pulls.update-branch( Str $owner
, Str $repo
, Int(Str) $pull-number
, Str :$expected-head-sha
)