From fdfd48a3fcaea2e59addee6d18d0bd68646a7fe3 Mon Sep 17 00:00:00 2001 From: Kaleb Luedtke Date: Mon, 4 Nov 2024 22:52:18 -0600 Subject: [PATCH] Final triggers --- .github/policies/moderatorTriggers.yml | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/.github/policies/moderatorTriggers.yml b/.github/policies/moderatorTriggers.yml index 03410dea..dbbc1ee5 100644 --- a/.github/policies/moderatorTriggers.yml +++ b/.github/policies/moderatorTriggers.yml @@ -179,14 +179,6 @@ configuration: # - addLabel: # label: Moderator-Approved # Needs-Attention - # NpmDsc - - if: - - commentContains: - pattern: '\[[Pp]olicy\]\s+[Nn][Pp][Mm]\.[Dd][Ss][Cc]' - isRegex: True - then: - - addLabel: - label: NpmDsc - if: - commentContains: pattern: '\[[Pp]olicy\]\s+[Nn]eeds[\s-][Aa]ttention' @@ -219,6 +211,22 @@ configuration: then: - addLabel: label: Needs-CLA + # New-DSC-Resource + - if: + - commentContains: + pattern: '\[[Pp]olicy\]\s+[Nn]ew[\s-][Dd][Ss][Cc][\s-][Rr]esource' + isRegex: True + then: + - addLabel: + label: New-DSC-Resource + # NpmDsc + - if: + - commentContains: + pattern: '\[[Pp]olicy\]\s+[Nn][Pp][Mm]\.[Dd][Ss][Cc]' + isRegex: True + then: + - addLabel: + label: NpmDsc # PythonPip3Dsc - if: - commentContains: