diff --git a/.github/policies/resourceManagement.yml b/.github/policies/resourceManagement.yml index 183c74f15..94301d1b6 100644 --- a/.github/policies/resourceManagement.yml +++ b/.github/policies/resourceManagement.yml @@ -76,6 +76,19 @@ configuration: - addLabel: label: OmniSharp + - description: Add "C#DK" label to issues filed with C# DevKit installed + triggerOnOwnActions: false + if: + - payloadType: Issues + - isAction: + action: Opened + - bodyContains: + pattern: "|csdevkit|ms-dotnettools|" + isRegex: False + then: + - addLabel: + label: C#DK + - description: Close issues opened with incomplete bug template information triggerOnOwnActions: false if: @@ -95,4 +108,4 @@ configuration: - closeIssue onFailure: -onSuccess: \ No newline at end of file +onSuccess: