Skip to content

Commit ea2ab76

Browse files
lramosveaCopilot
andcommitted
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>
1 parent f54c6b7 commit ea2ab76

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/policies/resourceManagement.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,5 +220,20 @@ configuration:
220220
- removeLabel:
221221
label: 'Status: No recent activity'
222222
description:
223+
- if:
224+
- payloadType: Issues
225+
- isAction:
226+
action: Labeled
227+
- hasLabel:
228+
label: 'resolve:qa'
229+
then:
230+
- addReply:
231+
reply: >-
232+
Thank you for your question! For better support, please post on
233+
[Microsoft Q&A](https://learn.microsoft.com/en-us/answers/tags/800/microsoft-security-ms-graph).
234+
If this is still relevant, please open a new question there with updated details.
235+
Closing this issue.
236+
- closeIssue
237+
description: Close question issues labeled resolve:qa by the triage agent
223238
onFailure:
224239
onSuccess:

0 commit comments

Comments
 (0)