owners

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 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 AdminBypass added in v1.2.0

type AdminBypass struct {
	Enabled      bool     `toml:"enabled"`
	AllowedUsers []string `toml:"allowed_users"`
}

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"`
	AdminBypass           *AdminBypass `toml:"admin_bypass"`
	DetailedReviewers     bool         `toml:"detailed_reviewers"`
	DisableSmartDismissal bool         `toml:"disable_smart_dismissal"`
}

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