Files
bookorbit/.github/workflows/stale.yml
T
neon 2cc0906ddf ci: fix stale issue progress and increase processing budget
Grant cache write access so stale processing can save progress across runs.
Raise the operation budget to 1000 to cover the current backlog in one run.
Retain the policy of 60 inactive days before marking stale and 14 additional
days before closure.
2026-10-13 01:27:45 +00:00

36 lines
1.0 KiB
YAML

name: Stale Issues
on:
schedule:
- cron: "0 3 * * *"
workflow_dispatch:
permissions:
actions: write
issues: write
pull-requests: read
jobs:
stale:
name: Mark and Close Stale Issues
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/stale@4391f3da665fdf50b6810c1a66712fb9ba21aa93 # v11.0.0
with:
operations-per-run: 1000
days-before-issue-stale: 60
days-before-issue-close: 14
days-before-pr-stale: -1
days-before-pr-close: -1
stale-issue-label: stale
stale-pr-label: stale
remove-pr-stale-when-updated: false
exempt-issue-labels: "pinned,security,discussion"
stale-issue-message: >
This issue has been inactive for 60 days. It will be closed in 14 days
unless there is new activity. If this is still relevant, please leave a
comment or update the issue.
close-issue-message: >
Closing due to inactivity. Feel free to reopen if this is still relevant.