Skip to content

Commit

Permalink
Added stale issue detector for better issue cleansing.
Browse files Browse the repository at this point in the history
  • Loading branch information
farirat committed Feb 21, 2022
1 parent 5b206f0 commit 7698b32
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/stale-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: 'Close stale issues and PRs'

on:
schedule:
- cron: '30 1 * * *'

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v4
with:
stale-issue-message: 'Stale issue detected, remove stale label or comment or this will be closed soon.'
close-issue-message: 'This issue was closed because it has been stalled more than a year with no activity.'
days-before-issue-stale: 365
days-before-issue-close: 45
stale-pr-message: 'Stale PR detected, remove stale label or comment or this will be closed soon.'
close-pr-message: 'This issue was closed because it has been stalled more than a year with no activity.'
days-before-pr-stale: 365
days-before-pr-close: 45

0 comments on commit 7698b32

Please sign in to comment.