Tachiyomi-Extensions/.github/workflows/batch_close_issues.yml
renovate[bot] 04b5049a7a
[skip ci] Update actions/stale action to v8 (#15809)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-23 22:29:38 -04:00

27 lines
932 B
YAML

name: "Batch close stale issues"
on:
# Monthly
schedule:
- cron: '0 0 1 * *'
# Manual trigger
workflow_dispatch:
inputs:
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# Close everything older than ~6 months
days-before-issue-stale: 180
days-before-issue-close: 0
any-of-issue-labels: "Source request"
exempt-issue-labels: do-not-autoclose
close-issue-message: "In an effort to have a more manageable issue backlog, we're closing older requests that weren't addressed. If you think the source may still benefit others, please [open a new request](https://github.com/tachiyomiorg/tachiyomi-extensions/issues/new?assignees=&labels=Source+request&template=request_source.yml)."
close-issue-reason: not_planned
ascending: true
operations-per-run: 250