diff --git a/.github/workflows/auto_close_issue.yml b/.github/workflows/auto_close_issue.yml new file mode 100644 index 00000000..40fa68dd --- /dev/null +++ b/.github/workflows/auto_close_issue.yml @@ -0,0 +1,12 @@ +name: Autocloser +on: [issues] +jobs: + autoclose: + runs-on: ubuntu-latest + steps: + - name: Autoclose issues that did not follow issue template + uses: roots/issue-closer@v1.2 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + issue-close-message: "@${issue.user.login} this issue was automatically closed because it did not follow the issue template" + issue-pattern: ".*### Describe the bug|### Feature description.*"