From 01e72e2ae85b2304b70c354f87d910c509f24593 Mon Sep 17 00:00:00 2001 From: Gerald Versluis Date: Thu, 11 Apr 2024 18:18:52 +0200 Subject: [PATCH] Add s/triaged label for issues opened by core team (#21775) --- .github/policies/resourceManagement.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/policies/resourceManagement.yml b/.github/policies/resourceManagement.yml index 8a1dbe199e2b..39ed64b00b3b 100644 --- a/.github/policies/resourceManagement.yml +++ b/.github/policies/resourceManagement.yml @@ -579,5 +579,15 @@ configuration: - removeLabel: label: s/try-latest-version description: Remove 's/try-latest-version' when new reply from author comes in + - if: + - payloadType: Issues + - activitySenderHasPermission: + permission: Write + - isAction: + action: Opened + 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 onFailure: onSuccess: