Skip to content

Commit

Permalink
Add s/triaged label for issues opened by (core) team (#22006)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
jfversluis authored Apr 23, 2024
1 parent 994117b commit 17b05bc
Showing 1 changed file with 38 additions and 3 deletions.
41 changes: 38 additions & 3 deletions .github/policies/resourceManagement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -581,13 +581,48 @@ configuration:
description: Remove 's/try-latest-version' when new reply from author comes in
- if:
- payloadType: Issues
- activitySenderHasPermission:
permission: Write
- isAction:
action: Opened
- or:
- isActivitySender:
user: PureWeen
issueAuthor: False
- isActivitySender:
user: mattleibow
issueAuthor: False
- isActivitySender:
user: rmarinho
issueAuthor: False
- isActivitySender:
user: jsuarezruiz
issueAuthor: False
- isActivitySender:
user: Redth
issueAuthor: False
- isActivitySender:
user: StephaneDelcroix
issueAuthor: False
- isActivitySender:
user: samhouts
issueAuthor: False
- isActivitySender:
user: jamesmontemagno
issueAuthor: False
- isActivitySender:
user: jonathanpeppers
issueAuthor: False
- isActivitySender:
user: rachelkang
issueAuthor: False
- isActivitySender:
user: Eilon
issueAuthor: False
- isActivitySender:
user: jfversluis
issueAuthor: False
then:
- addLabel:
label: s/triaged
description: Add 's/triaged' label to issues opened by the core team, we assume these issues do not need triaging
description: Add 's/triaged' label to issues opened by the (core) team, we assume these issues do not need triaging
onFailure:
onSuccess:

0 comments on commit 17b05bc

Please sign in to comment.