ci: add stale action for issues

* ci: add stale action for issues

* ci: add stale action for issues

* ci: rephrase messages

* ci: set issue stale after 60 days

* ci: stale action debug mode
This commit is contained in:
Jasper Vaneessen 2022-10-10 10:11:00 +02:00 committed by GitHub
parent 6fecd713dd
commit 37dabe1244
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

@ -0,0 +1,29 @@
name: 'Stale issues and PRs'
on:
schedule:
- cron: '30 1 * * *'
permissions:
issues: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v5
with:
debug-only: true
stale-issue-label: 🏚️ abandoned
stale-issue-message: >
This issue has been automatically marked as `🏚️ abandoned`
because it has not had recent activity. It will be closed if no
further activity occurs.
close-issue-message: >
Closing stale issue. If this issue is still relevant, please reopen it.
days-before-issue-stale: 60
days-before-close: 30
days-before-pr-stale: -1
operations-per-run: 700
exempt-issue-labels: "🐛 bug,☀️ enhancement,📚 documentation, feature,🐌 performance,
test,📝 task,:ant: worker threads,👩🏾‍💻 developer experience"
exempt-all-assignees: true