Skip to content

Commit

Permalink
Add cleanup.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 committed Jan 17, 2024
1 parent c30127c commit 7c1814c
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/cleanup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Issue cleanup
on:
schedule:
- cron: '0 23 14 * *' # At 23:00, 14th day of each month
jobs:
triage_issues:
name: Issue triage
runs-on: ubuntu-latest
steps:
- name: Find old issues and mark them stale
uses: Krizzu/issue-triage-action@v1.0.0
with:
ghToken: ${{ secrets.GITHUB_TOKEN }}
staleAfter: 30
closeAfter: 60
staleLabel: "STALE 📺"
staleComment: "This issue is %DAYS_OLD% days old, marking as stale! cc: @%AUTHOR%"
closeComment: "Issue last updated %DAYS_OLD% days ago! Closing down!"
showLogs: true

0 comments on commit 7c1814c

Please sign in to comment.