RepositoryPolicyFinding
Defined in: policy.ts:98
A repository violation, optionally associated with several repo-relative files.
Extends
Section titled “Extends”Properties
Section titled “Properties”error:
string
Defined in: policy.ts:68
The error message describing what failed.
Inherited from
Section titled “Inherited from”files?
Section titled “files?”
optionalfiles?: readonlystring[]
Defined in: policy.ts:100
Repo-relative paths involved in the violation; omit for a repository-wide issue.
fixable?
Section titled “fixable?”
optionalfixable?:boolean
Defined in: policy.ts:73
Set to true if the policy violation can be fixed automatically.
Inherited from
Section titled “Inherited from”fixed?
Section titled “fixed?”
optionalfixed?:boolean
Defined in: policy.ts:78
Set to true if the violation was successfully fixed (only set when resolve=true).
Inherited from
Section titled “Inherited from”manualFix?
Section titled “manualFix?”
optionalmanualFix?:string
Defined in: policy.ts:83
An optional string that tells the user how to manually fix the failure.