From 7e99389b6a5d224b33ca4b5dbf39b98ef8723ff2 Mon Sep 17 00:00:00 2001
From: Connor Plante <150482134+plante-msft@users.noreply.github.com>
Date: Wed, 11 Sep 2024 19:02:10 -0400
Subject: [PATCH] Added bot trigger to add Product-Workspaces label to new
issues-bugs (#34819)
---
.github/policies/resourceManagement.yml | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/.github/policies/resourceManagement.yml b/.github/policies/resourceManagement.yml
index f41817bbf6..4692cf6ee6 100644
--- a/.github/policies/resourceManagement.yml
+++ b/.github/policies/resourceManagement.yml
@@ -241,6 +241,17 @@ configuration:
then:
- addReply:
reply: Hi! Your last comment indicates to our system, that you might want to contribute to this feature/fix this bug. Thank you! Please make us aware on our ["Would you like to contribute to PowerToys?" thread](https://github.com/microsoft/PowerToys/issues/28769), as we don't see all the comments.
_I'm a bot (beep!) so please excuse any mistakes I may make_
+ description:
+ - if:
+ - payloadType: Issues
+ - isAction:
+ action: Opened
+ - bodyContains:
+ pattern: 'Area\(s\) with issue\?\s*\nWorkspaces'
+ isRegex: True
+ then:
+ - addLabel:
+ label: Product-Workspaces
description:
onFailure:
onSuccess: