Add stale action

This commit is contained in:
chris-bateman 2024-09-28 19:02:35 +10:00
parent 5b91e3f697
commit 6bdaff48b5

19
.github/workflows/stale/yml vendored Normal file
View file

@ -0,0 +1,19 @@
name: 'Close stale issues and PRs'
permissions:
issues: write
pull-requests: write
on:
schedule:
- cron: '0 0 * * *'
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
days-before-stale: 30
days-before-close: 5