Skip to content

Commit

Permalink
Create new stale issue workflow
Browse files Browse the repository at this point in the history
Create new stale issue workflow that breaks up existing workflow into 4 separate parts:
1) Apply stale label to issues with no activity for 30 days
2) Remove stale label if someone comments on a stale issue
3) Close issues labeled stale with no activity for an additional 30 days
4) Reopen issue if someone comments on closed stale issue

Will temporarily disable existing stale issue workflow before merging this one for testing purposes

If this workflow works, I'll remove the old one + corresponding files
  • Loading branch information
sophies927 authored Jul 25, 2024
1 parent c203d89 commit 0094464
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/new_stale_close.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Close Stale Issues
description: Close stale issues that have not been updated in 30 days
resource: repository
configuration:
resourceManagementConfiguration:
scheduledSearches:
- frequencies:
- daily:
time: 15:00
filters:
- hasLabel:
label: stale
- isIssue
- isOpen
- isNotAssigned
- noActivitySince:
days: 30
actions:
- addReply:
reply: "Closing issue due to no activity in 90 days"
- closeIssue

0 comments on commit 0094464

Please sign in to comment.