Skip to content

GitHub Stale Issues #1029

GitHub Stale Issues

GitHub Stale Issues #1029

name: GitHub Stale Issues
on:
schedule:
- cron: '30 1 * * *'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: false # queue
jobs:
stale:
permissions:
issues: write # actions/stale
pull-requests: write # actions/stale
discussions: write # actions/stale
runs-on: ubuntu-latest
steps:
- uses: actions/stale@eb5cf3af3ac0a1aa4c9c45633dd1ae542a27a899 # v10.3.0
with:
days-before-issue-stale: 14
days-before-pr-stale: -1
days-before-close: 14
stale-issue-message: |
## :hourglass_flowing_sand: Stale issue warning
This issue is stale because it has been open 14 days with no activity. Comment or this will be automatically closed in 14 days.
_Comment generated by the [${{ github.workflow }}](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}/attempts/${{ github.run_attempt }}) workflow._
close-issue-message: |
## :no_entry_sign: Stale issue closure
This issue was closed because it has been stalled for 14 days with no activity. Only repository collaborators will be able to re-open this issue.
_Comment generated by the [${{ github.workflow }}](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}/attempts/${{ github.run_attempt }}) workflow._
stale-issue-label: 'stale'
only-labels: 'question'