mszostok / codeowners-validator

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

Verify code owners against a set list of owners? #81

Closed ktikku closed 2 years ago

ktikku commented 2 years ago

Hi @mszostok,

This action is quite useful for us, thanks! I had question, can we verify/validate the code owners present in the CODEOWNERS file against against a set list of users. I was not able to find such a feature in the documentation.

Thanks

mszostok commented 2 years ago

Hi @ktikku,

Currently, there is no such option. Owners are validated against GitHub. If they are present in a given org and have proper permissions, they are valid. I do not see value in validation against static file with list of users, what is your use-case here? Because you still need to have proper configuration in place. If someone is not allowed, you should remove this owner from org or change perms.

mszostok commented 2 years ago

Please re-open if this feature is really required. Currently, it lacks enough interest to be implemented in the near future.