Close Inactive Issues #531
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: Close Inactive Issues | |
| on: | |
| schedule: | |
| - cron: '30 1 * * *' | |
| workflow_dispatch: | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| jobs: | |
| stale: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/stale@v9 | |
| with: | |
| # Configuration for managing stale issues | |
| days-before-issue-stale: 30 | |
| days-before-issue-close: 7 | |
| 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. Thank you for your contributions." | |
| close-issue-message: "This issue was closed because it has been stalled for 7 days with no activity." | |
| # Configuration for managing stale pull requests | |
| days-before-pr-stale: 60 | |
| days-before-pr-close: 7 | |
| stale-pr-label: "stale" | |
| stale-pr-message: "This pull request has been automatically marked as stale because it has not had recent activity." | |
| close-pr-message: "This pull request was closed because it has been stalled for 7 days with no activity." | |
| # Labels to exclude from stale processing | |
| exempt-issue-labels: "pinned,security" | |
| exempt-pr-labels: "pinned,security" | |
| # Limit operations to avoid rate limiting | |
| operations-per-run: 1000 |