From b3223e5cb1b2cc45a599c789a7b0dd4e5da072e3 Mon Sep 17 00:00:00 2001 From: Peter Collins Date: Tue, 10 Dec 2024 12:22:47 -0500 Subject: [PATCH 1/2] Add 'needs info' to issue updater --- .github/policies/resourceManagement.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/policies/resourceManagement.yml b/.github/policies/resourceManagement.yml index b5f416a..ba19b90 100644 --- a/.github/policies/resourceManagement.yml +++ b/.github/policies/resourceManagement.yml @@ -42,8 +42,11 @@ configuration: filters: - isIssue - isOpen - - hasLabel: - label: needs reproduction + - or: + - hasLabel: + label: needs info + - hasLabel: + label: needs reproduction - noActivitySince: days: 3 actions: @@ -71,8 +74,11 @@ configuration: filters: - isIssue - isOpen - - hasLabel: - label: needs reproduction + - or: + - hasLabel: + label: needs info + - hasLabel: + label: needs reproduction - hasLabel: label: stale - noActivitySince: @@ -80,7 +86,7 @@ configuration: actions: - closeIssue - addReply: - reply: We haven't received a reproduction sample from you. The issue is closed. + reply: This issue has been automatically closed because it has been marked as stale. eventResponderTasks: - if: - payloadType: Issues From ab8e4aab1e007362ba648101294664399b08da29 Mon Sep 17 00:00:00 2001 From: Peter Collins Date: Tue, 10 Dec 2024 13:01:26 -0500 Subject: [PATCH 2/2] Add new scheduled search --- .github/policies/resourceManagement.yml | 41 +++++++++++++++++++------ 1 file changed, 31 insertions(+), 10 deletions(-) diff --git a/.github/policies/resourceManagement.yml b/.github/policies/resourceManagement.yml index ba19b90..7feca04 100644 --- a/.github/policies/resourceManagement.yml +++ b/.github/policies/resourceManagement.yml @@ -42,11 +42,37 @@ configuration: filters: - isIssue - isOpen - - or: - - hasLabel: - label: needs info - - hasLabel: - label: needs reproduction + - hasLabel: + label: needs reproduction + - noActivitySince: + days: 3 + actions: + - addReply: + reply: This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for **3 days**. It will be closed if no further activity occurs **within 2 days of this comment**. If it *is* closed, feel free to comment when you are able to provide the additional information and we will re-investigate. + - addLabel: + label: stale + - description: "[Idle Issue Management] Notify about 'needs info' issues" + frequencies: + - weekday: + day: Monday + time: 0:0 + - weekday: + day: Tuesday + time: 0:0 + - weekday: + day: Wednesday + time: 0:0 + - weekday: + day: Thursday + time: 0:0 + - weekday: + day: Friday + time: 0:0 + filters: + - isIssue + - isOpen + - hasLabel: + label: needs info - noActivitySince: days: 3 actions: @@ -74,11 +100,6 @@ configuration: filters: - isIssue - isOpen - - or: - - hasLabel: - label: needs info - - hasLabel: - label: needs reproduction - hasLabel: label: stale - noActivitySince: