From ea2ab764317087db40d69554d37a2ab55ea20f64 Mon Sep 17 00:00:00 2001 From: Luis Ramos Date: Tue, 3 Mar 2026 21:10:47 -0600 Subject: [PATCH] Add resolve:qa bot rule for automated question closure When the triage agent labels an issue with 'resolve:qa', the bot will post a message redirecting the user to Microsoft Q&A and close the issue automatically. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/policies/resourceManagement.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/policies/resourceManagement.yml b/.github/policies/resourceManagement.yml index 5592d3b9520..3c3fa8f9953 100644 --- a/.github/policies/resourceManagement.yml +++ b/.github/policies/resourceManagement.yml @@ -220,5 +220,20 @@ configuration: - removeLabel: label: 'Status: No recent activity' description: + - if: + - payloadType: Issues + - isAction: + action: Labeled + - hasLabel: + label: 'resolve:qa' + then: + - addReply: + reply: >- + Thank you for your question! For better support, please post on + [Microsoft Q&A](https://learn.microsoft.com/en-us/answers/tags/800/microsoft-security-ms-graph). + If this is still relevant, please open a new question there with updated details. + Closing this issue. + - closeIssue + description: Close question issues labeled resolve:qa by the triage agent onFailure: onSuccess: