mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Adding bot logic for closing GitHub issues after 6 months of no activity (#20525)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user