Skip to content

Stale issues and PRs #86

Stale issues and PRs

Stale issues and PRs #86

Workflow file for this run

name: Stale issues and PRs
# Daily sweep. Issues are marked stale for visibility but are never closed
# automatically — on this project the issue tracker doubles as the roadmap,
# and a parked item is not an abandoned one. Pull requests still auto-close,
# since a stale PR is genuinely abandoned work.
#
# Issue exemptions: anything with a milestone, plus the `keep`,
# `good first issue`, and `bug` labels. opendecree/decree#162, opendecree/decree#1028.
#
# Tuning happens here per-repo so each project can adjust independently
# if traffic patterns diverge.
on:
schedule:
- cron: '30 1 * * *' # daily 01:30 UTC
workflow_dispatch:
permissions:
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/stale@v10
with:
stale-issue-message: >
This issue has been inactive for 60 days and is being marked
stale. It will not be closed automatically — comment, or remove
the `stale` label, if it is still relevant. Add the `keep` label
to opt out of future sweeps.
stale-pr-message: >
This PR has been inactive for 30 days and is being marked
stale. It will be closed in 7 days unless there is new
activity. Add the `keep` label to opt out of future sweeps.
close-pr-message: >
Closing for inactivity. Reopen if this is still relevant.
stale-issue-label: stale
stale-pr-label: stale
days-before-issue-stale: 60
days-before-issue-close: -1 # never auto-close issues
days-before-pr-stale: 30
days-before-pr-close: 7
exempt-all-issue-milestones: true
exempt-issue-labels: 'keep,good first issue,bug'
exempt-pr-labels: 'keep'
operations-per-run: 100