Close inactive issues #8
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: "17 3 * * *" | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| issues: write | |
| pull-requests: read | |
| jobs: | |
| close-inactive-issues: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/stale@v10 | |
| with: | |
| repo-token: ${{ github.token }} | |
| days-before-issue-stale: 23 | |
| days-before-issue-close: 7 | |
| stale-issue-label: stale | |
| stale-issue-message: > | |
| This issue has had no activity for 23 days. It will be | |
| automatically closed in 7 days unless there is new activity. | |
| close-issue-message: > | |
| This issue was automatically closed after 30 days without | |
| activity. If the problem still exists, please reopen it or | |
| create a new issue with updated information. | |
| close-issue-reason: not_planned | |
| exempt-issue-labels: pinned,security,confirmed-bug | |
| days-before-pr-stale: -1 | |
| days-before-pr-close: -1 |