name: Stale
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
permissions:
issues: write
pull-requests: write
jobs:
stale:
name: Mark Stale Issues and PRs
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v10
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 has been automatically closed due to inactivity.
Feel free to reopen if this is still relevant.
days-before-issue-stale: 60
days-before-issue-close: 14
stale-issue-label: 'stale'
exempt-issue-labels: 'pinned,security,bug,help wanted'
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.
If you are still working on this, please comment or push new commits.
close-pr-message: |
This pull request has been automatically closed due to inactivity.
Feel free to reopen if you'd like to continue working on this.
days-before-pr-stale: 30
days-before-pr-close: 14
stale-pr-label: 'stale'
exempt-pr-labels: 'pinned,work in progress'
operations-per-run: 100
remove-stale-when-updated: true
delete-branch: false