GitHub Stale Issues #406
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: GitHub Stale Issues | |
on: | |
schedule: | |
- cron: '30 1 * * *' | |
workflow_dispatch: | |
jobs: | |
stale: | |
permissions: | |
issues: write | |
pull-requests: write | |
discussions: write | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v9 | |
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' |