Documentation
¶
Index ¶
- func ApprovePR(repo string, number int) error
- func GetClient() (*api.RESTClient, error)
- func GetCurrentRepo() (string, error)
- func GetPRHead(repo string, number int) (string, error)
- func GroupPRs(prs []types.PR, customPatterns []string) map[string][]types.PR
- func ListRepos(org string) ([]string, error)
- func MergeViaDependabot(repo string, number int, method string) error
- func MergeViaPR(repo string, number int, method string) error
- func SearchPRs(params SearchParams) ([]types.PR, error)
- type CheckStatus
- type SearchParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClient ¶
func GetClient() (*api.RESTClient, error)
GetClient returns a GitHub REST API client
func GetCurrentRepo ¶
GetCurrentRepo gets the current repository from cwd
func MergeViaDependabot ¶
MergeViaDependabot posts a dependabot merge comment
func MergeViaPR ¶
MergeViaPR merges a PR via GitHub API
Types ¶
type CheckStatus ¶
CheckStatus represents CI status
func GetCIStatus ¶
func GetCIStatus(repo string, sha string) (*CheckStatus, error)
GetCIStatus checks the CI status for a PR
Click to show internal directories.
Click to hide internal directories.