From 1e98a694236894b56ea8b4e1ad2b8fbd83e52127 Mon Sep 17 00:00:00 2001 From: Luke Latham <1622880+guardrex@users.noreply.github.com> Date: Mon, 3 Mar 2025 11:11:20 -0500 Subject: [PATCH 1/6] Issue management proposal --- .github/policies/issueManagement-notTriaged.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/policies/issueManagement-notTriaged.yml b/.github/policies/issueManagement-notTriaged.yml index 67af06d5b1d5..85f410da7f8b 100644 --- a/.github/policies/issueManagement-notTriaged.yml +++ b/.github/policies/issueManagement-notTriaged.yml @@ -10,19 +10,25 @@ configuration: eventResponderTasks: - description: >- Add "not triaged" label when: + * Issue is not for Blazor or Blazor Hybrid * Issue is opened * Issue is reopened * 'needs-more-info' label removed if: - payloadType: Issues + - and: + - not: + - labelAdded: + label: 'blazor/subsvc' + - not: + - labelAdded: + label: 'blazor-hybrid/subsvc' - or: - - or: - isAction: action: Opened - isAction: - action: Reopened - + action: Reopened - labelRemoved: label: 'needs-more-info' then: @@ -43,7 +49,6 @@ configuration: action: Closed - isActivitySender: issueAuthor: true - - labelAdded: label: 'reQUEST' then: From 9f908c1aac579071dff3db9201440ca98ee8b946 Mon Sep 17 00:00:00 2001 From: Luke Latham <1622880+guardrex@users.noreply.github.com> Date: Mon, 3 Mar 2025 11:13:07 -0500 Subject: [PATCH 2/6] Label fix in the area labels YML file --- .github/policies/labelAdded-areaLabels.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/policies/labelAdded-areaLabels.yml b/.github/policies/labelAdded-areaLabels.yml index 21463fdf4789..3a30cf07f627 100644 --- a/.github/policies/labelAdded-areaLabels.yml +++ b/.github/policies/labelAdded-areaLabels.yml @@ -14,7 +14,7 @@ configuration: if: - payloadType: Issues - labelAdded: - label: 'grpc/subsv' + label: 'grpc/subsvc' then: - addLabel: 'gRPC' From 245237cac7dd176f0d53ffa52363118435b623dc Mon Sep 17 00:00:00 2001 From: Luke Latham <1622880+guardrex@users.noreply.github.com> Date: Mon, 3 Mar 2025 11:40:14 -0500 Subject: [PATCH 3/6] Updates --- .github/policies/issueManagement-notTriaged.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/policies/issueManagement-notTriaged.yml b/.github/policies/issueManagement-notTriaged.yml index 85f410da7f8b..c8b316bd2589 100644 --- a/.github/policies/issueManagement-notTriaged.yml +++ b/.github/policies/issueManagement-notTriaged.yml @@ -18,10 +18,10 @@ configuration: - payloadType: Issues - and: - not: - - labelAdded: + - hasLabel: label: 'blazor/subsvc' - not: - - labelAdded: + - hasLabel: label: 'blazor-hybrid/subsvc' - or: - or: From e948e9258778dce0ccc21c8df04c28d3d4fd8883 Mon Sep 17 00:00:00 2001 From: Luke Latham <1622880+guardrex@users.noreply.github.com> Date: Mon, 3 Mar 2025 11:45:16 -0500 Subject: [PATCH 4/6] Updates --- .github/policies/issueManagement-notTriaged.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/policies/issueManagement-notTriaged.yml b/.github/policies/issueManagement-notTriaged.yml index c8b316bd2589..4a83eef585da 100644 --- a/.github/policies/issueManagement-notTriaged.yml +++ b/.github/policies/issueManagement-notTriaged.yml @@ -14,15 +14,13 @@ configuration: * Issue is opened * Issue is reopened * 'needs-more-info' label removed + filters: + - isNotLabeledWith: + label: 'blazor/subsvc' + - isNotLabeledWith: + label: 'blazor-hybrid/subsvc' if: - payloadType: Issues - - and: - - not: - - hasLabel: - label: 'blazor/subsvc' - - not: - - hasLabel: - label: 'blazor-hybrid/subsvc' - or: - or: - isAction: From b921272287b7c3d92db56e94e529818706e9418c Mon Sep 17 00:00:00 2001 From: Luke Latham <1622880+guardrex@users.noreply.github.com> Date: Mon, 3 Mar 2025 11:48:14 -0500 Subject: [PATCH 5/6] Updates --- .github/policies/issueManagement-notTriaged.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/policies/issueManagement-notTriaged.yml b/.github/policies/issueManagement-notTriaged.yml index 4a83eef585da..947286f00bac 100644 --- a/.github/policies/issueManagement-notTriaged.yml +++ b/.github/policies/issueManagement-notTriaged.yml @@ -14,13 +14,12 @@ configuration: * Issue is opened * Issue is reopened * 'needs-more-info' label removed - filters: + if: + - payloadType: Issues - isNotLabeledWith: label: 'blazor/subsvc' - isNotLabeledWith: label: 'blazor-hybrid/subsvc' - if: - - payloadType: Issues - or: - or: - isAction: From 0419f8f842cc498abee7b632694e9fdfa1d2e94a Mon Sep 17 00:00:00 2001 From: Luke Latham <1622880+guardrex@users.noreply.github.com> Date: Mon, 3 Mar 2025 11:50:31 -0500 Subject: [PATCH 6/6] Updates --- .github/policies/issueManagement-notTriaged.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/policies/issueManagement-notTriaged.yml b/.github/policies/issueManagement-notTriaged.yml index 947286f00bac..4a83eef585da 100644 --- a/.github/policies/issueManagement-notTriaged.yml +++ b/.github/policies/issueManagement-notTriaged.yml @@ -14,12 +14,13 @@ configuration: * Issue is opened * Issue is reopened * 'needs-more-info' label removed - if: - - payloadType: Issues + filters: - isNotLabeledWith: label: 'blazor/subsvc' - isNotLabeledWith: label: 'blazor-hybrid/subsvc' + if: + - payloadType: Issues - or: - or: - isAction: