Merge pull request #1342 from jkroepke/action/stale

This commit is contained in:
Jan-Otto Kröpke 2023-11-20 19:30:00 +01:00 committed by GitHub
commit e9feac83ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

20
.github/workflows/stale.yml vendored Normal file
View File

@ -0,0 +1,20 @@
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '30 1 * * *'
permissions:
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
with:
stale-issue-message: 'This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.'
exempt-issue-labels: 'lifecycle/frozen'
days-before-stale: 90
days-before-close: 30
enable-statistics: true