Skip to content

Allow inheriting higher level owner #108

@mathias-kende

Description

@mathias-kende

It is sometime useful to have teams able to approve changes everywhere in a repository (e.g. teams performing large scale refactoring, etc.). As far as I understand the codeowners-plus documentation there is no easy way to support that for now (basically that team would need to be listed as an OR in every single rule in every .codeowners file in the repo, and the team would end up being added to all the PR).

Could some option be added to support this workflow?

Maybe with a new option in the codeowners.toml file that would make it so that any rule of a higher level .codeowners that matches files covered by a lower level .codeowners would be implicit OR rules. These implicit owners would not be added to the PR, not even be notified. But if they approve the PR their ownership would be sufficient to validate the review.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions