diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 4729a8e3d39..564bad37f7f 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -323,3 +323,5 @@ /src/azext_gallery-service-artifact/ @rohitbhoopalam /src/azext_durabletask/ @RyanLettieri + +/src/acat @qinqingxu @Sherylueen @yongxin-ms @wh-alice \ No newline at end of file diff --git a/.github/policies/resourceManagement.yml b/.github/policies/resourceManagement.yml index 3084fabbe4c..8eae19077eb 100644 --- a/.github/policies/resourceManagement.yml +++ b/.github/policies/resourceManagement.yml @@ -6784,5 +6784,35 @@ configuration: users: - ReaNAiveD description: '[k8s-runtime] Auto assign labels and reviewers based on PR title/description.' + - if: + - payloadType: Issues + - or: + - titleContains: + pattern: '[Aa]z acat' + isRegex: True + - bodyContains: + pattern: '[Aa]z acat' + isRegex: True + - titleContains: + pattern: '\b([Aa]cat)\b' + isRegex: True + - bodyContains: + pattern: '\b([Aa]cat)\b' + isRegex: True + - or: + - isAction: + action: Opened + then: + - addLabel: + label: Auto-Assign + - addLabel: + label: Acat + - assignTo: + users: + - qinqingxu + - Sherylueen + - yongxin-ms + - wh-alice + description: '[Acat] auto assign labels and users based on issue description.' onFailure: onSuccess: