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.
Description
When a parent team is added to the repo with
write
access, and one of its child teams in added to the CODEOWNERS filecodeowners-validator
says the teamdoes 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
owners
check enabledTroubleshooting