Use action/stale

This commit is contained in:
lazymio 2021-10-05 19:29:12 +02:00 committed by GitHub
parent 9233bcc513
commit 21d3181e00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 0 deletions

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

@ -0,0 +1,20 @@
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '30 5 * * *'
workflow_dispatch:
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v4
with:
stale-issue-message: 'This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days.'
days-before-stale: 60
days-before-close: 15
exempt-all-milestones: true
exempt-issue-labels:
- pinned
exempt-pr-labels:
- pinned