Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
App represents the application with its dependencies
type Config ¶
type Config struct {
Token string
RepoDir string
PR int
Repo string
Verbose bool
Quiet bool
InfoBuffer io.Writer
WarningBuffer io.Writer
}
Config holds the application configuration
type OutputData ¶ added in v1.1.0
type OutputData struct {
FileOwners map[string][]string `json:"file_owners"`
FileOptional map[string][]string `json:"file_optional"`
UnownedFiles []string `json:"unowned_files"`
StillRequired []string `json:"still_required"`
Success bool `json:"success"`
Message string `json:"message"`
}
OutputData holds the data that will be written to GITHUB_OUTPUT
func NewOutputData ¶ added in v1.1.1
func NewOutputData(co codeowners.CodeOwners) *OutputData
func (*OutputData) UpdateOutputData ¶ added in v1.1.1
func (od *OutputData) UpdateOutputData(success bool, message string, stillRequired []string)
Click to show internal directories.
Click to hide internal directories.