# Instructions for CODEOWNERS file format and automatic build failure notifications:
# https://github.com/Azure/azure-sdk/blob/main/docs/policies/opensource.md#codeowners

# -----------------------------------------------------------------
# IMPORTANT NOTE:
#   The ordering of "ServiceLabel" blocks is important!
#
#   Matching takes place from bottom-to-top and will stop after the
#   first match.  Place less specific matches earlier in the file
#   and more specific matches later.
#
#   Be sure to add new entries in the area they belong, denoted by the
#   header wrapped in "#" characters. (e.g. SDK, EngSys, Management)
# -----------------------------------------------------------------

##################
# Repository root
##################

# Catch all for loose files in the root, which are mostly global configuration and
# should not be changed without team discussion.
/*                       @heaths @xirzec @RickWinter @LarryOsterman

# Catch all for non-code project files and unowned files | folders
/**                      @heaths @xirzec @RickWinter @LarryOsterman

# Allow service owners to approve crate version updates, which impact Cargo.lock
/Cargo.lock

##################
# Automation
##################

# GitHub integration and bot rules
/.github/                @heaths @xirzec @RickWinter @LarryOsterman

###########
# SDK
###########
# Catch all
/sdk/                    @heaths @xirzec @RickWinter @LarryOsterman

# AzureSDKOwners: @heaths
# ServiceLabel: %Azure.Core
# PRLabel: %Azure.Core
/sdk/core/               @heaths @xirzec @RickWinter @LarryOsterman

# AzureSDKOwners: @heaths
# ServiceLabel: %Azure.Identity
# PRLabel: %Azure.Identity
/sdk/identity/           @heaths @xirzec @RickWinter @LarryOsterman

####################
# Client Libraries
####################

# PRLabel: %Cosmos
/sdk/cosmos/             @Azure/azure-cosmos-rust-sdk

# ServiceLabel: %Cosmos
# ServiceOwners: @Pilchie

# PRLabel: %KeyVault
/sdk/keyvault/           @Azure/azure-sdk-write-keyvault @heaths

# ServiceLabel: %KeyVault
# AzureSDKOwners: @heaths
# ServiceOwners: @Azure/azure-sdk-write-keyvault

# PRLabel: %Storage
/sdk/storage/            @heaths @xirzec @RickWinter @LarryOsterman @vincenttran-msft @jalauzon-msft @jaschrep-msft

# ServiceLabel: %Storage
# AzureSDKOwners: @vincenttran-msft @jalauzon-msft @jaschrep-msft

# PRLabel: %Event Hubs
/sdk/eventhubs/          @j7nw4r @SwayGom @sagar0207

# PRLabel: %Event Hubs %Storage
/sdk/eventhubs/azure_messaging_eventhubs_checkpointstore_blob/    @j7nw4r @SwayGom @sagar0207 @jalauzon-msft @vincenttran-msft @jaschrep-msft

# ServiceLabel: %Event Hubs
# AzureSDKOwners: @LarryOsterman
# ServiceOwners: @j7nw4r @SwayGom @sagar0207

####################
# Management Libraries
####################

###########
# Eng Sys
###########
/eng/                    @danieljurek @heaths @xirzec @RickWinter
/eng/common/             @Azure/azure-sdk-eng
/.github/workflows/      @Azure/azure-sdk-eng
/.github/CODEOWNERS      @xirzec @RickWinter @Azure/azure-sdk-eng
/.config/1espt/          @benbp
/sdk/canary/             @danieljurek

# Add owners for notifications for specific pipelines
/eng/common/pipelines/codeowners-linter.yml       @xirzec @rickwinter
