diff --git a/.github/policies/resourceManagement.yml b/.github/policies/resourceManagement.yml index 9d054bd460d2d..379cea47b9f11 100644 --- a/.github/policies/resourceManagement.yml +++ b/.github/policies/resourceManagement.yml @@ -273,5 +273,19 @@ configuration: then: - closeIssue + - description: Remove "untriaged" label from issues when closed or added to a milestone + triggerOnOwnActions: false + if: + - payloadType: Issues + - or: + - isAction: + action: Closed + - isPartOfAnyMilestone + - hasLabel: + label: untriaged + then: + - removeLabel: + label: untriaged + onFailure: onSuccess: