event

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2026 License: MIT Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

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