Skip to content

Commit 77e4d4f

Browse files
authored
[WinAppSDK]: Update resourceManagement.yml (#5988)
* Update resourceManagement.yml close issue only if bot comment is posted * fix yml * minor improvements
1 parent 6ba937b commit 77e4d4f

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/policies/resourceManagement.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ configuration:
281281
then:
282282
- addReply:
283283
reply: >-
284-
Hi @${issueAuthor}, thank you for your contribution! This issue appears to be external to the WindowsAppSDK.
284+
[external-classification] Hi @${issueAuthor}, thank you for your contribution! This issue appears to be external to the WindowsAppSDK.
285285
To help route it appropriately, please submit your feedback via the Feedback Hub by pressing [Windows] + [F],
286286
and include detailed information and diagnostics. We appreciate your help in improving the platform!
287287
- removeLabel:
@@ -297,8 +297,13 @@ configuration:
297297
label: area-External
298298
- isOpen
299299
- commentContains:
300-
pattern: '\/[E|e]xternal'
300+
pattern: '^\[external-classification\]'
301301
isRegex: True
302+
- or:
303+
- activitySenderHasPermission:
304+
permission: Write
305+
- activitySenderHasPermission:
306+
permission: Admin
302307
then:
303308
- closeIssue
304309

0 commit comments

Comments
 (0)