branch

package
v0.0.0-...-a52cfc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApprovePullRequestByBranch

func ApprovePullRequestByBranch(client *github.Client, ctx context.Context, owner, repoName, branchName string)

func BranchExists

func BranchExists(client *github.Client, ctx context.Context, owner, repoName, branchName string) bool

func CloseOpenPullRequestByBranch

func CloseOpenPullRequestByBranch(client *github.Client, ctx context.Context, owner, repoName, branchName string) error

func CreateGithubClient

func CreateGithubClient(ctx context.Context, token string) *github.Client

func DeleteBranchByName

func DeleteBranchByName(client *github.Client, ctx context.Context, owner, repoName, branchName string) error

func SearchForRepoByTopicInOrg

func SearchForRepoByTopicInOrg(ctx context.Context, orgName, topic string, client *github.Client) (repositories []github.Repository, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL