Skip to content

Commit 9ffba6b

Browse files
Fix bot to add needs-triage label to newly opened issue (#3772)
1 parent e5537d8 commit 9ffba6b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/policies/resourceManagement.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,5 +286,17 @@ configuration:
286286
- addLabel:
287287
label: 'Needs-Attention :wave:'
288288
description:
289+
- if:
290+
- payloadType: Issues
291+
- and:
292+
- isOpen
293+
- not:
294+
and:
295+
- isAssignedToSomeone
296+
- isLabeled
297+
then:
298+
- addLabel:
299+
label: 'Needs-Triage :mag:'
300+
description: 'Adding needs triage label to newly opened issues'
289301
onFailure:
290302
onSuccess:

0 commit comments

Comments
 (0)