Close Inactive Issues #64
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: "0 0 * * *" # runs daily | |
| workflow_dispatch: | |
| jobs: | |
| stale: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Close Stale Issues | |
| uses: actions/[email protected] | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| days-before-stale: 30 | |
| days-before-close: 0 | |
| stale-issue-message: "This issue has been marked as stale due to 30 days of inactivity and will now be closed." | |
| close-issue-reason: "not_planned" | |
| stale-issue-label: "stale" |