Skip to main content

Module pr

Module pr 

Source

Structs§

PullRequest
Pull request summary fetched via the gh pr list command.
PullRequestAuthor
Author metadata for a pull request.
PullRequestMergeStateIter
An iterator over the variants of PullRequestMergeState

Enums§

PullRequestMergeState
Merge state classification returned by GitHub’s mergeStateStatus field.

Traits§

IntoEnumIterator
This trait designates that an Enum can be iterated over. It can be auto generated using the EnumIter derive macro.

Functions§

approve
Approve a pull request via gh pr review --approve.
create
Creates a GitHub pull request with the specified title.
dependabot_rebase
Trigger Dependabot to rebase a pull request via @dependabot rebase comment.
enable_auto_merge
Enable GitHub auto-merge for a pull request (squash strategy).
get
Fetch pull requests for a repository using gh pr list.
merge
Merge a pull request using administrative squash semantics.