chore: add a worfklow for stale issues

This commit is contained in:
Pierre F. 2026-05-29 11:05:44 +02:00 committed by GitHub
parent 5f4f964325
commit bbcfbb9f7e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

@ -0,0 +1,21 @@
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
name: Mark stale issues
on:
schedule:
- cron: '00 2 * * *'
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions/stale@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'Hey there, this issue will be closed after 7 days of inactivity'
stale-issue-label: 'stale'
close-issue-message: 'Closed for inactivity feel free to reopen if relevant'