name: Stale Issues and PRs on: schedule: - cron: '0 0 * * *' # Daily workflow_dispatch: jobs: stale: runs-on: ubuntu-latest permissions: issues: write pull-requests: write steps: - uses: actions/stale@v9 with: stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within 7 days.' stale-pr-message: 'This PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within 7 days.' close-issue-message: 'This issue has been automatically closed due to inactivity.' close-pr-message: 'This PR has been automatically closed due to inactivity.' days-before-stale: 30 days-before-close: 7 stale-issue-label: 'stale' stale-pr-label: 'stale' exempt-issue-labels: 'enhancement,security' exempt-pr-labels: 'security,work-in-progress'