owners

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2025 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	MaxReviews           *int         `toml:"max_reviews"`
	MinReviews           *int         `toml:"min_reviews"`
	UnskippableReviewers []string     `toml:"unskippable_reviewers"`
	Ignore               []string     `toml:"ignore"`
	Enforcement          *Enforcement `toml:"enforcement"`
	HighPriorityLabels   []string     `toml:"high_priority_labels"`
}

func ReadConfig

func ReadConfig(path string) (*Config, error)

type Enforcement

type Enforcement struct {
	Approval  bool `toml:"approval"`
	FailCheck bool `toml:"fail_check"`
}

Jump to

Keyboard shortcuts

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