Provides functions to work with pull requests via github api.
Provides functions to work with pull requests via github api.
(create-pull! client
org
{:keys [repo title branch body base] :or {base "master"}})
(get-pull-files! client org repo pull-number)
Get files changed in a pull request. For more details, look at https://docs.github.com/en/rest/reference/pulls#list-pull-requests-files
Get files changed in a pull request. For more details, look at https://docs.github.com/en/rest/reference/pulls#list-pull-requests-files
(has-label? {:keys [labels] :as _pull} label)
does a pull request have the given label?
does a pull request have the given label?
(merge! client org repo pull-number params)
Merge a pull request.
For details about the parameters and response format, look at https://docs.github.com/en/rest/reference/pulls#merge-a-pull-request
Merge a pull request. For details about the parameters and response format, look at https://docs.github.com/en/rest/reference/pulls#merge-a-pull-request
(pull->branch-name pull)
get branch name associated with a pull request
get branch name associated with a pull request
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close