Skip to content

Commit 4337a1f

Browse files
authored
Auto-close stale issues (dotnet#10594)
1 parent c320891 commit 4337a1f

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

.github/policies/author-action.yml

+17-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,25 @@
11
name: GitOps.PullRequestIssueManagement
2-
description: Add and remove needs-author-action label to issues and PRs
2+
description: Add and remove needs-author-action label from issues and PRs, and close stale issues.
33
resource: repository
44

55
configuration:
66
resourceManagementConfiguration:
7+
scheduledSearches:
8+
- frequencies:
9+
- daily:
10+
time: 12:00
11+
filters:
12+
- isIssue
13+
- isOpen
14+
- hasLabel:
15+
label: needs-author-action
16+
- noActivitySince:
17+
days: 14
18+
actions:
19+
- addReply:
20+
reply: This issue has been automatically closed due to no response from the original author. Feel free to reopen it if you have more information that can help us investigate the issue further.
21+
- closeIssue
22+
723
eventResponderTasks:
824
- description: Needs-author-action notification
925
if:

0 commit comments

Comments
 (0)