diff --git a/.github/workflows/issue_close_inactive.yml b/.github/workflows/issue_close_inactive.yml new file mode 100644 index 0000000..be382ef --- /dev/null +++ b/.github/workflows/issue_close_inactive.yml @@ -0,0 +1,20 @@ +name: Close inactive + +on: + schedule: + - cron: "0 0 */7 * *" + workflow_dispatch: + +jobs: + close-inactive: + runs-on: ubuntu-latest + steps: + - name: close-issues + uses: actions-cool/issues-helper@v3 + with: + actions: "close-issues" + token: ${{ secrets.GITHUB_TOKEN }} + inactive-day: 30 + close-reason: "not_planned" + body: | + This issue was closed due to inactive more than 30 days. You can reopen or recreate it if you think it should continue.