Close inactive issues #9
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: "23 8 * * *" | |
| workflow_dispatch: | |
| concurrency: | |
| group: close-inactive-issues | |
| cancel-in-progress: false | |
| jobs: | |
| stale: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| issues: write | |
| steps: | |
| - name: Mark and close inactive issues | |
| uses: actions/stale@v10 | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| days-before-issue-stale: 23 | |
| days-before-issue-close: 7 | |
| days-before-pr-stale: -1 | |
| days-before-pr-close: -1 | |
| stale-issue-label: stale | |
| remove-issue-stale-when-updated: true | |
| operations-per-run: 200 | |
| ascending: true | |
| stale-issue-message: >- | |
| This issue has been inactive for 23 days. It will be closed in 7 days | |
| if there is no further activity. | |
| close-issue-message: >- | |
| Closing this issue after 30 days of inactivity. Comment if you want to | |
| continue the discussion and a maintainer can reopen it. |