From f301b88c4afd7eaddf7c25749ef87fd88bcab231 Mon Sep 17 00:00:00 2001 From: Artak <34246760+mkArtakMSFT@users.noreply.github.com> Date: Tue, 23 Apr 2024 08:23:57 -0700 Subject: [PATCH] Avoid detecting AOT within other characters as a candidate for labeling. (#55300) --- .github/policies/resourceManagement.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/policies/resourceManagement.yml b/.github/policies/resourceManagement.yml index e5a414df3bcc..64c0d16ff95f 100644 --- a/.github/policies/resourceManagement.yml +++ b/.github/policies/resourceManagement.yml @@ -758,10 +758,10 @@ configuration: action: Opened - or: - bodyContains: - pattern: '[Aa][Oo][Tt]' + pattern: '[Aa][Oo][Tt]\W' isRegex: True - titleContains: - pattern: '[Aa][Oo][Tt]' + pattern: '[Aa][Oo][Tt]\W' isRegex: True then: - addLabel: