1
0
mirror of synced 2024-11-23 23:31:02 +01:00

git: Added stale issues action (#1836)

Added stale issues action:
- Runs on cron every 30 days
- Marks issues as stale after 11 months
- Closes issues marked as stale after 1 month
This commit is contained in:
Justus Garbe 2024-08-03 18:22:11 +02:00 committed by GitHub
parent 35739d6d0d
commit d69ae39b6f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

27
.github/workflows/stale_issues.yml vendored Normal file
View File

@ -0,0 +1,27 @@
name: Close inactive issues
on:
schedule:
- cron: "30 1 * * 0"
jobs:
close-issues:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v5
with:
days-before-issue-stale: 334
days-before-issue-close: 30
stale-issue-label: "stale"
stale-issue-message: |
This issue is marked stale as it has been open for 11 months without activity.
Please try the latest ImHex version. (Avaiable here: https://imhex.download/ for release and https://imhex.download/#nightly for development version)
If the issue persists on the latest version, please make a comment on this issue again
Without response, this issue will be closed in one month.
close-issue-message: ""
days-before-pr-stale: -1
days-before-pr-close: -1
repo-token: ${{ secrets.GITHUB_TOKEN }}