-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0ecf02b
commit b1d7768
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |