Documentation
¶
Index ¶
- func ParseOwnerRepo(remote string) (string, string)
- type Client
- func (c *Client) AddAssignees(ctx context.Context, remote string, issueNumber int, assignees []string) error
- func (c *Client) AddLabels(ctx context.Context, remote string, issueNumber int, labels []string) error
- func (c *Client) CreatePR(ctx context.Context, remote, title, body, head, base string) (*github.PullRequest, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseOwnerRepo ¶
ParseOwnerRepo parses common remote URL forms and returns owner, repo.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) AddAssignees ¶
func (c *Client) AddAssignees(ctx context.Context, remote string, issueNumber int, assignees []string) error
AddAssignees adds assignees to an issue/PR.
Click to show internal directories.
Click to hide internal directories.