Close 'awaiting response' labeled issues #1150
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: Close 'awaiting response' labeled issues | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 6 * * *' | |
jobs: | |
close-issues-with-no-response: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
pull-requests: write | |
steps: | |
- uses: actions/stale@v4 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
stale-issue-label: 'awaiting response' | |
stale-pr-label: 'awaiting response' | |
days-before-stale: -1 | |
days-before-close: 30 | |
close-issue-message: > | |
Automatically closed because there has not been a response for 30 days. | |
When you're ready to work on this further, please comment here and the | |
issue will automatically reopen. |