Skip to content

Commit

Permalink
Create batch_close_issues.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmechinmoy authored Jan 1, 2025
1 parent 0ecf02b commit b1d7768
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/batch_close_issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: "Batch close stale bug and question issues"
on:
schedule:
- cron: '0 0 1 * *'
workflow_dispatch:
inputs:

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# Close issues after 3 months of inactivity
days-before-issue-stale: 90
days-before-issue-close: 0
only-issue-labels: "bug,question"
exempt-issue-labels: "do-not-autoclose,Meta request"
close-issue-message: "To have a more manageable issue backlog, we're closing older bug reports and questions that weren't addressed within three months. If this issue is still relevant, please [open a new issue](https://github.com/RyanYuuki/AnymeX/issues/new/choose)."
close-issue-reason: not_planned
ascending: true
operations-per-run: 250

0 comments on commit b1d7768

Please sign in to comment.