Skip to content

Close Stale Issues

Close Stale Issues #14

Workflow file for this run

name: 'Close Stale Issues'
on:
schedule:
- cron: '0 0 * * *' #run daily at midnight
workflow_dispatch:
permissions:
issues: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
# docs: https://github.com/actions/stale?tab=readme-ov-file
stale-issue-message: 'This issue has become stale with over 1 year of inactivity and will be closed in 10 days unless a comment is provided or the stale label is removed.'
close-issue-message: 'This issue was closed as it has been flagged as stale and has had no activity in the last 10 days.'
stale-issue-label: 'Stale'
remove-issue-stale-when-updated: true
days-before-issue-stale: 365
days-before-issue-close: 10
operations-per-run: 10
# Flag older Issues first
ascending: true
debug-only: false