Skip to content

Commit

Permalink
Auto-close stale issues
Browse files Browse the repository at this point in the history
  • Loading branch information
gewarren authored Oct 18, 2024
1 parent 65790d4 commit 356314b
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/policies/author-action.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,25 @@
name: GitOps.PullRequestIssueManagement
description: Add and remove needs-author-action label to issues and PRs
description: Add and remove needs-author-action label from issues and PRs, and close stale issues.
resource: repository

configuration:
resourceManagementConfiguration:
scheduledSearches:
- frequencies:
- daily:
time: 12:00
filters:
- isIssue
- isOpen
- hasLabel:
label: needs-author-action
- noActivitySince:
days: 14
actions:
- addReply:
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.
- closeIssue

eventResponderTasks:
- description: Needs-author-action notification
if:
Expand Down

0 comments on commit 356314b

Please sign in to comment.