Skip to content

Close Stale Issues

Close Stale Issues #12

Workflow file for this run

name: Close Stale Issues
on:
schedule:
- cron: '0 0 * * *' # Runs daily at midnight UTC
workflow_dispatch: # Allows manual triggering of the workflow
jobs:
stale:
runs-on: ubuntu-latest
steps:
- name: Close stale issues and PRs
uses: actions/stale@v8
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue has been marked as stale due to inactivity. If no further activity occurs, it will be closed in 7 days.'
stale-pr-message: 'This PR has been marked as stale due to inactivity. If no further activity occurs, it will be closed in 7 days.'
days-before-stale: 30 # Number of days before an issue/PR becomes stale
days-before-close: 7 # Number of days to wait after marking as stale before closing
exempt-issue-labels: 'pinned,enhancement' # Do not mark issues with these labels as stale
exempt-pr-labels: 'work-in-progress' # Do not mark PRs with these labels as stale
operations-per-run: 30 # Number of actions to perform per run