From b430525f141ffd18cdf63e959b8b62695e8c5962 Mon Sep 17 00:00:00 2001 From: Scott Walkinshaw Date: Sun, 1 Sep 2019 23:24:17 -0400 Subject: [PATCH] Add issue closer github action --- .github/workflows/issues.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/issues.yml diff --git a/.github/workflows/issues.yml b/.github/workflows/issues.yml new file mode 100644 index 0000000..1fa2a9a --- /dev/null +++ b/.github/workflows/issues.yml @@ -0,0 +1,16 @@ +name: Issue closer +on: [issues] +jobs: + autoclose: + runs-on: ubuntu-latest + steps: + - name: Autoclose issues that did not follow issue template + uses: roots/issue-closer@v1.1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + issue-close-message: Hi @${issue.user.login}, + +It looks like the issue template is missing from this issue. Please take a look at the [Contribution Guidelines](https://github.com/roots/guidelines/blob/master/CONTRIBUTING.md), which will tell you **exactly** what your ticket has to contain in order to be processable. + +Please **do not** use the issue tracker for personal support requests. Use [Roots Discourse](https://discourse.roots.io/) to ask the Roots community for help, or [hire someone from the community](https://discourse.roots.io/c/jobs)." + issue-pattern: ".*guidelines for Contributing.*"