Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Policy ¶
type Policy struct { Approval approval.Policy `yaml:"approval"` Disapproval *disapproval.Policy `yaml:"disapproval"` }
type RemoteConfig ¶
type RemoteConfig struct { Remote string `yaml:"remote"` Path string `yaml:"path"` Ref string `yaml:"ref"` }
RemoteConfig allows the use of a remote policy file, rather than a local one. The Remote value should follow the format `org/repo`. An example: `palantir/policy-bot`. The Path is optional, with the default value being the configured default policy file location. The Ref is optional, and the default branch of the Remote repository will be used.
Click to show internal directories.
Click to hide internal directories.