common

package
v0.3.22 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func FindOpenReleasePR

func FindOpenReleasePR(ctx context.Context, client *github.Client, owner, repo, branch, base string) (*github.PullRequest, error)

func IsReleaseFreeze

func IsReleaseFreeze(ctx context.Context, client *github.Client, number int, owner, repo string) (bool, error)

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"
)

Jump to

Keyboard shortcuts

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