Team names required syntax when used for CODEOWNERS file #32812
Labels
code owners
Content related to code owners
content
This issue or pull request belongs to the Docs Content team
waiting for review
Issue/PR is waiting for a writer's review
Code of Conduct
What article on docs.github.com is affected?
This one about creating a team doesn't state the allowed syntax for a team name: https://docs.github.com/en/organizations/organizing-members-into-teams/creating-a-team
And this page on CODEOWNERS, https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners#codeowners-syntax, doesn't mention it either.
What part(s) of the article would you like to see updated?
A section on syntax for team names should be added.
A team name with '.' included is not allowed in a CODEOWNERS file, resulting in the following error:
and the error description points to the characters from the dot to the end.
I would assume that casing of the team name is also critical. There might also be other non-allowed characters besides those mentioned on the CODEOWNERs page.
Additional information
This would affect all organizations that are using team names with dots.
This syntax is correct:
The text was updated successfully, but these errors were encountered: