gh

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	GithubRef string
	Org       string
	Repo      string
	// contains filtered or unexported fields
}

func CreateClient

func CreateClient(ctx context.Context, org string, repo string, apiKey string) *Client

func (Client) GetCurrentPullRequests

func (client Client) GetCurrentPullRequests() ([]*github.PullRequest, error)

Gets the pull-request(s) associated with the current action.

Jump to

Keyboard shortcuts

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