No Response #1540
This file contains hidden or 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: No Response | |
| # **What it does**: Closes issues where the original author doesn't respond to a request for information. | |
| # **Why we have it**: To remove the need for maintainers to check back on issues periodically to see if contributors have responded. | |
| # **Who does it impact**: Everyone that works on this repository. | |
| on: | |
| schedule: | |
| # Run once daily at midnight UTC | |
| - cron: '0 0 * * *' | |
| workflow_dispatch: | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| jobs: | |
| noResponse: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/stale@v9 | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| # Only process issues with "needs more info" label | |
| only-labels: 'needs more info' | |
| # Mark as stale after 14 days of inactivity | |
| days-before-stale: 14 | |
| # Close immediately after marking as stale | |
| days-before-close: 0 | |
| # Message when closing | |
| close-issue-message: > | |
| This issue has been closed automatically because it needs more information and has not had recent activity. Please reach out if you have or find the answers we need so that we can investigate further. | |
| # Exempt certain labels from being closed | |
| exempt-issue-labels: 'pinned,security' | |
| # Only process issues, not PRs | |
| enable-statistics: true |