name: Stale Issues
on:
schedule:
- cron: '0 0 * * *' workflow_dispatch:
permissions:
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: |
This issue has been automatically marked as stale because it has not had recent activity.
It will be closed in 14 days if no further activity occurs.
If this issue is still relevant, please comment or remove the stale label.
close-issue-message: |
This issue was closed because it has been stale for 14 days with no activity.
Feel free to reopen if this is still relevant.
stale-issue-label: 'stale'
days-before-issue-stale: 60
days-before-issue-close: 14
exempt-issue-labels: 'pinned,security,bug,enhancement'
stale-pr-message: |
This pull request has been automatically marked as stale because it has not had recent activity.
It will be closed in 14 days if no further activity occurs.
Please update your PR or comment if you're still working on this.
close-pr-message: |
This pull request was closed because it has been stale for 14 days with no activity.
Feel free to reopen if you'd like to continue working on this.
stale-pr-label: 'stale'
days-before-pr-stale: 30
days-before-pr-close: 14
exempt-pr-labels: 'pinned,work-in-progress'
remove-stale-when-updated: true
operations-per-run: 100