Added inactivity action

This commit is contained in:
JHubi1 2024-06-18 14:08:59 +02:00
parent 8f00cb8989
commit 04ff29277d
No known key found for this signature in database
GPG Key ID: 7BF82570CBBBD050
1 changed files with 18 additions and 0 deletions

18
.github/workflows/inactivity.yaml vendored Normal file
View File

@ -0,0 +1,18 @@
name: Close inactive issues
on:
schedule:
- cron: "30 1 * * *"
jobs:
close-issues:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v5
with:
days-before-stale: -1
days-before-pr-close: -1
days-before-issue-close: 21
close-issue-message: "This issue was closed because it has been inactive for 21 days. Reopen it or create a new issue in case the problem still persists."