Package codeowners implements the CODEOWNERS policy.
This section is empty.
This section is empty.
NewCodeowners returns a new CODEOWNERS policy.
Codeowners is the CODEOWNERS policy object, implements policydef.Policy.
Check performs the policy check for CODEOWNERS policy based on the configuration stored in the org/repo, implementing policydef.Policy.Check().
Fix implementing policydef.Policy.Fix(). Currently not supported. Plan to support this TODO.
GetAction returns the configured action from CODEOWNERS policy's configuration stored in the org-level repo, default log. Implementing policydef.Policy.GetAction().
Check whether this policy is enabled or not.
Name returns the name of this policy, implementing policydef.Policy.Name().
type OrgConfig struct { OptConfig config.OrgOptConfig `json:"optConfig"` Action string `json:"action"` RequireCODEOWNERS bool `json:"requireCODEOWNERS"` }
OrgConfig is the org-level config definition for CODEOWNERS.
type RepoConfig struct { OptConfig config.RepoOptConfig `json:"optConfig"` Action *string `json:"action"` RequireCODEOWNERS *bool `json:"requireCODEOWNERS"` }
RepoConfig is the repo-level config for CODEOWNERS.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4