Documentation
¶
Index ¶
- Variables
- func FindOpenReleasePR(ctx context.Context, client *github.Client, owner, repo, branch, base string) (*github.PullRequest, error)
- func IsReleaseFreeze(ctx context.Context, client *github.Client, number int, owner, repo string) (bool, error)
- func SearchForCommentCommand(data string, want CommentCommand) ([]string, bool)
- type CommentCommand
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AllCommentCommands = map[CommentCommand]bool{ CommentCommandBuildFork: true, CommentCommandReleaseFreeze: true, CommentCommandReleaseUnfreeze: true, CommentCommandTag: true, } )
Functions ¶
func FindOpenReleasePR ¶
func IsReleaseFreeze ¶
func SearchForCommentCommand ¶
func SearchForCommentCommand(data string, want CommentCommand) ([]string, bool)
Types ¶
type CommentCommand ¶
type CommentCommand string
const ( CommentCommandPrefix = "/" CommentCommandBuildFork CommentCommand = CommentCommandPrefix + "ok-to-build" CommentCommandReleaseFreeze CommentCommand = CommentCommandPrefix + "freeze" CommentCommandReleaseUnfreeze CommentCommand = CommentCommandPrefix + "unfreeze" CommentCommandTag CommentCommand = CommentCommandPrefix + "tag" )
Click to show internal directories.
Click to hide internal directories.