From c0e6e03dc66832d57a14b76882f4fe49ef9b888e Mon Sep 17 00:00:00 2001 From: arkon Date: Wed, 8 Apr 2020 19:36:36 -0400 Subject: [PATCH] Create issue_closer.yml --- .github/workflows/issue_closer.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/issue_closer.yml diff --git a/.github/workflows/issue_closer.yml b/.github/workflows/issue_closer.yml new file mode 100644 index 000000000..8c87a48dc --- /dev/null +++ b/.github/workflows/issue_closer.yml @@ -0,0 +1,13 @@ +name: Issue closer +on: [issues] +jobs: + autoclose: + runs-on: ubuntu-latest + steps: + - name: Autoclose issue + uses: arkon/issue-closer@v1.0 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + issue-close-message: "@${issue.user.login} this issue was automatically closed because it was not filled in correctly or the acknowledgment section was not removed." + issue-title-pattern: ".*THIS ISSUE IS IN THE WRONG REPO.*" + issue-body-pattern: ".*DELETE THIS SECTION IF YOU HAVE READ AND ACKNOWLEDGED IT.*"