.github/workflows: Add a workflow for dealing with stale issues/prs

This commit is contained in:
Michael Aldridge 2022-03-28 20:48:50 -05:00
parent 0b0ad90ddc
commit f841eea1cf
1 changed files with 20 additions and 0 deletions

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

@ -0,0 +1,20 @@
---
name: Stale Cleanup
on:
schedule:
- cron: '30 1 * * *'
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v4
with:
stale-issue-message: 'Issues become stale 90 days after last activity and are closed 7 days after that. If this issue is still relevant bump it or assign it.'
stale-pr-message: 'Pull Requests become stale 90 days after last activity and are closed 7 days after that. If this pull request is still relevant bump it or assign it.'
days-before-stale: 90
days-before-close: 7
debug-only: true
exempt-all-assignees: true
operations-per-run: 1000