diff --git a/.github/policies/resourceManagement.yml b/.github/policies/resourceManagement.yml index edad3b2e48..0387fb7189 100644 --- a/.github/policies/resourceManagement.yml +++ b/.github/policies/resourceManagement.yml @@ -205,7 +205,49 @@ configuration: - addReply: reply: This issue has been marked as "Waiting on Author" and has not had any activity for **7 day**. It has been closed for housekeeping purposes. - closeIssue + - description: Resolution no activity + frequencies: + - hourly: + hour: 12 + filters: + - isOpen + - isIssue + - hasLabel: + label: Resolution-No Activity + - noActivitySince: + days: 7 + actions: + - addReply: + reply: This issue has been marked as "No Activity" as there has been no activity for 6 months. It has been closed for housekeeping purposes. + + - closeIssue + - description: This is for closing issues that have no activity for 6 months. + frequencies: + - hourly: + hour: 24 + filters: + - isIssue + - isOpen + - isNotLabeledWith: + label: KeepOpen + - noActivitySince: + days: 180 + actions: + - addReply: + reply: This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you. + - addLabel: + label: Resolution-No Activity eventResponderTasks: + - if: + - payloadType: Issue_Comment + - isActivitySender: + issueAuthor: True + - hasLabel: + label: Resolution-No Activity + then: + - removeLabel: + label: Resolution-No Activity + description: Reopen issues with no activity if its the author who has commented - if: - payloadType: Pull_Request - hasLabel: