mszostok / codeowners-validator

The GitHub CODEOWNERS file validator
Apache License 2.0
211 stars 48 forks source link

Owner child team is not supported by codeowners-validator #194

Open jcook-uptycs opened 1 year ago

jcook-uptycs commented 1 year ago

Description

When a parent team is added to the repo with write access, and one of its child teams in added to the CODEOWNERS file codeowners-validator says the team does not have permissions associated with the repository. However it does have permissions via the parent team.

This is supported by GitHub. And shows as correct via the API. https://docs.github.com/en/rest/repos/repos#list-codeowners-errors

Expected result

Actual result

Steps to reproduce

Troubleshooting