Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPREventHandler ¶
func NewPREventHandler(logger *slog.Logger) func(*github.PullRequestEvent, *github.Client, *slog.Logger)
NewPREventHandler loads min_approvals from the repository's config file and returns a configured pull_request event handler. Defaults to 1 approval if config is missing or invalid.
func NewProcessComment ¶
func NewProcessComment(logger *slog.Logger) func(*github.IssueCommentEvent, *github.Client, *slog.Logger)
NewProcessComment loads min_approvals and label categories from the repository's config files and returns a configured ProcessComment function. Config errors are non-fatal; defaults are used when config is missing or invalid.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.