Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
GithubToken string `yaml:"github_token"`
InternalTeam string `yaml:"internal_team"`
InternalTeamIgnoredUsers []string `yaml:"internal_team_ignored_users"`
SkipUsers []string `yaml:"skip_users"`
SkipUsersMap map[string]bool
LabelConfig `yaml:",inline"`
CheckRepos []CheckRepo `yaml:"check_repos"`
}
Config defines the config for all aspects of the bot
func LoadConfig ¶
LoadConfig loads config from the given path
type LabelConfig ¶
type LabelConfig struct {
LabelInternal string `yaml:"label_internal"`
LabelExternal string `yaml:"label_external"`
}
LabelConfig is the configuration options specific to labeling PRs
Click to show internal directories.
Click to hide internal directories.