Add issue closer github action

This commit is contained in:
Scott Walkinshaw
2019-09-01 23:24:17 -04:00
committed by GitHub
parent 9100cea66b
commit b430525f14

16
.github/workflows/issues.yml vendored Normal file
View File

@@ -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.*"