Merge pull request #722 from cenkalti/stalebot

Add workflow to close stale issues and PRs
pull/724/head
Benjamin Wang 2024-04-15 20:22:27 +01:00 committed by GitHub
commit 37ff3504e3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 19 additions and 0 deletions

19
.github/workflows/stale.yaml vendored Normal file
View File

@ -0,0 +1,19 @@
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '0 0 * * *' # every day at 00:00 UTC
permissions:
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
days-before-stale: 90
days-before-close: 21
stale-issue-label: stale
stale-pr-label: stale