RepositoryPolicyDefinition
Defined in: policy.ts:60
Repository/change scopes run once over matching inventory; fixers are inline only.
Type Parameters
Section titled “Type Parameters”C = void
Properties
Section titled “Properties”defaultConfig?
Section titled “defaultConfig?”
optionaldefaultConfig?:C
Defined in: policy.ts:71
description
Section titled “description”description:
string
Defined in: policy.ts:62
match?
Section titled “match?”
optionalmatch?:RegExp
Defined in: policy.ts:66
Match repo-relative paths, including either rename endpoint; omitted means all entries.
name:
string
Defined in: policy.ts:61
requiresConfig?
Section titled “requiresConfig?”
optionalrequiresConfig?:boolean
Defined in: policy.ts:72
resolver?
Section titled “resolver?”
optionalresolver?:undefined
Defined in: policy.ts:70
scope:
"repository"|"changes"
Defined in: policy.ts:64
Changes scope requests Git status annotation (PR mode by default).
Methods
Section titled “Methods”handler()
Section titled “handler()”handler(
args):Promise<PolicyResult> |Operation<PolicyResult>
Defined in: policy.ts:67
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Promise<PolicyResult> | Operation<PolicyResult>