mszostok/codeowners-validator

Verify code owners against a set list of owners?

Closed this issue · 2 comments

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

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.

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