Documentation
¶
Overview ¶
Package github provides GitHub API operations.
Index ¶
- func AddLabels(ctx context.Context, apiURL, token, owner, repo string, prNumber int, ...) error
- func EnableAutoMerge(ctx context.Context, graphqlURL, token, prNodeID, mergeMethod string) error
- func RequestReviewers(ctx context.Context, apiURL, token, owner, repo string, prNumber int, ...) error
- type PRData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddLabels ¶
func AddLabels(ctx context.Context, apiURL, token, owner, repo string, prNumber int, labels []string) error
AddLabels adds labels to a pull request.
func EnableAutoMerge ¶
EnableAutoMerge enables auto-merge on a pull request via GraphQL.
Types ¶
Click to show internal directories.
Click to hide internal directories.