name: Stale Issue Management
on:
workflow_dispatch:
permissions:
issues: write
pull-requests: write
jobs:
stale:
name: Mark Stale Issues and PRs
runs-on: ubuntu-latest
steps:
- uses: actions/stale@eb5cf3af3ac0a1aa4c9c45633dd1ae542a27a899 with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-issue-stale: 60
days-before-issue-close: 14
stale-issue-label: 'stale'
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 14 days.
If this issue is still relevant, please add a comment to keep it open.
close-issue-message: |
This issue has been automatically closed due to inactivity.
Feel free to reopen if this is still relevant.
days-before-pr-stale: 30
days-before-pr-close: 7
stale-pr-label: 'stale'
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-pr-message: |
This PR has been automatically closed due to inactivity.
Feel free to reopen when ready to continue.
exempt-issue-labels: 'pinned,security,good first issue'
exempt-pr-labels: 'pinned,work-in-progress'