mszostok / codeowners-validator

The GitHub CODEOWNERS file validator
Apache License 2.0
221 stars 47 forks source link

Add a flag to only allow teams as owners #127

Closed seveas closed 2 years ago

seveas commented 2 years ago

Hi Mateusz!

I'd like to replace some horrible home-grown checkers with codeowners-validator. There's only one feature missing: in the repository I want to use this for, we require that all owners are teams.

This PR implements an optional addition to the owner checker to enforce this.

mszostok commented 2 years ago

As there is no activity under this PR, I will merge it as it is and create a follow-up PR that will address missing parts.