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

Change the way ServiceLabel parses with AzureSdkOwners #7754

Merged

Conversation

JimSuplizio
Copy link
Member

This is a change requested by @jsquire for the case where a ServiceLabel only has AzureSdkOwners with no ServiceOwners.

Previously, ServiceLabel required service owners in whatever shape that took (either ServiceOwners/NotInRepo or the block ended in a source path/owner line).

With this change, ServiceLabel still requires service owners unless the block only consists of ServiceLabel and AzureSdkOwners.

To be very clear what this allows, the following is now a valid block:
AzureSdkOwners: @Owner1 @owner2
ServiceLabel: %SomeLabel

This does mean that the owners of CODEOWNERS files, whomever they might actually be, need to pay attention to changes to ensure that if a ServiceLabel requires both AzureSdkOwners and ServiceOwners that they're both there.

@JimSuplizio JimSuplizio added CODEOWNERS Linter Anything related to the CODEOWNERS linter CODEOWNERS Parser Anything related to the CODEOWNERS parser labels Feb 26, 2024
@JimSuplizio JimSuplizio self-assigned this Feb 26, 2024
@JimSuplizio JimSuplizio enabled auto-merge (squash) February 27, 2024 14:06
@JimSuplizio JimSuplizio merged commit d24687e into Azure:main Feb 27, 2024
23 checks passed
@JimSuplizio JimSuplizio deleted the ServiceLabelAndAzureSdkOwnersUpdate branch February 27, 2024 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CODEOWNERS Linter Anything related to the CODEOWNERS linter CODEOWNERS Parser Anything related to the CODEOWNERS parser
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants