Skip to content

Commit 17b05bc

Browse files
authored
Add s/triaged label for issues opened by (core) team (#22006)
* Add s/triaged label for issues opened by (core) team Alternate approach to #21775 as that clearly didn't work. Hoping this _will_ work! From the original PR: > Adds a rule to the bot that adds the s/triaged label to an issue which is opened by the core team (someone with write permissions on the repo). A lot of times these issues are tasks and/or very cryptic to the triage team. This way, the triage team will skip these issues and we assume the issues are valid ones and/or not issues that need triage. * Update resourceManagement.yml
1 parent 994117b commit 17b05bc

File tree

1 file changed

+38
-3
lines changed

1 file changed

+38
-3
lines changed

.github/policies/resourceManagement.yml

Lines changed: 38 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -581,13 +581,48 @@ configuration:
581581
description: Remove 's/try-latest-version' when new reply from author comes in
582582
- if:
583583
- payloadType: Issues
584-
- activitySenderHasPermission:
585-
permission: Write
586584
- isAction:
587585
action: Opened
586+
- or:
587+
- isActivitySender:
588+
user: PureWeen
589+
issueAuthor: False
590+
- isActivitySender:
591+
user: mattleibow
592+
issueAuthor: False
593+
- isActivitySender:
594+
user: rmarinho
595+
issueAuthor: False
596+
- isActivitySender:
597+
user: jsuarezruiz
598+
issueAuthor: False
599+
- isActivitySender:
600+
user: Redth
601+
issueAuthor: False
602+
- isActivitySender:
603+
user: StephaneDelcroix
604+
issueAuthor: False
605+
- isActivitySender:
606+
user: samhouts
607+
issueAuthor: False
608+
- isActivitySender:
609+
user: jamesmontemagno
610+
issueAuthor: False
611+
- isActivitySender:
612+
user: jonathanpeppers
613+
issueAuthor: False
614+
- isActivitySender:
615+
user: rachelkang
616+
issueAuthor: False
617+
- isActivitySender:
618+
user: Eilon
619+
issueAuthor: False
620+
- isActivitySender:
621+
user: jfversluis
622+
issueAuthor: False
588623
then:
589624
- addLabel:
590625
label: s/triaged
591-
description: Add 's/triaged' label to issues opened by the core team, we assume these issues do not need triaging
626+
description: Add 's/triaged' label to issues opened by the (core) team, we assume these issues do not need triaging
592627
onFailure:
593628
onSuccess:

0 commit comments

Comments
 (0)