Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jcook-uptycs opened this issue Mar 27, 2023 · 0 comments
Open

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

jcook-uptycs opened this issue Mar 27, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@jcook-uptycs
Copy link

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 owners check enabled

Troubleshooting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants