Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPullRequestApprovers ¶
func GetPullRequestApprovers(ghToken, ghOwner, repository string, number int) ([]string, error)
GetPullRequestApprovers returns a list of approvers for a given pull request
func NewGithubClientFromToken ¶
func NewGithubClientFromToken(ctx context.Context, ghToken string) *gh.Client
NewGithubClient returns Github client with a token and context
func PullRequestsForCommit ¶
func PullRequestsForCommit(ghToken, ghOwner, repository, commit string) ([]*gh.PullRequest, error)
PullRequestsForCommit returns a list of pull requests for a specific commit
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.