Skip to main content

PartialCodeownersConfig

Configures code ownership rules for generating a CODEOWNERS file.

Index

Properties

optionalglobalPaths

globalPaths?: null | Record<string, string[]>

Paths that are applied globally to all projects. Can be relative from the workspace root, or a wildcard match for any depth.

optionalorderBy

orderBy?: null | CodeownersOrderBy = null | CodeownersOrderBy

How to order ownership rules within the generated file.

optionalrequiredApprovals

requiredApprovals?: null | number

Bitbucket and GitLab only. The number of approvals required for the request to be satisfied. This will be applied to all paths.

optionalsyncOnRun

syncOnRun?: null | boolean

Generates a CODEOWNERS file after aggregating all ownership rules from each project in the workspace.