From a142f054964c386d0f09596c03630c54062397a5 Mon Sep 17 00:00:00 2001 From: jb-alvarado <2212056+jb-alvarado@users.noreply.github.com> Date: Mon, 2 Sep 2024 21:43:15 +0200 Subject: [PATCH] Create auto_close_issue.yml --- .github/workflows/auto_close_issue.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/workflows/auto_close_issue.yml 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.*"