-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Labels
bugSomething isn't workingSomething isn't working
Description
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
- Create a team
- Give team write permissions to repo
- Create a child team
- Add child team to CODEOWNERS file
- Run codeowners-validator with
ownerscheck enabled
Troubleshooting
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working