Use stale action from core repo to manage stale issues

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
Adam Warner 2022-01-08 17:18:04 +00:00
parent 0baf7b63d9
commit 6e9790870c
No known key found for this signature in database
GPG Key ID: 872950F3ECF2B173
1 changed files with 24 additions and 0 deletions

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

@ -0,0 +1,24 @@
name: Mark stale issues
on:
schedule:
- cron: '0 * * * *'
workflow_dispatch:
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions/stale@v4
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 30
days-before-close: 5
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Please comment or update this issue or it will be closed in 5 days.'
stale-issue-label: 'Submitter Attention Required'
exempt-issue-labels: 'pinned, Fixed in next release, Bug: Confirmed'
exempt-all-issue-assignees: true