20 lines
603 B
YAML
20 lines
603 B
YAML
on:
|
|
issues:
|
|
types: [opened, edited]
|
|
|
|
jobs:
|
|
auto_close_issues:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v1
|
|
- name: Automatically close issues that don't follow the issue template
|
|
uses: roots/issue-closer@v1.1
|
|
with:
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
issue-pattern: ".*Describe the (bug|feature|goal).*"
|
|
issue-close-message: |-
|
|
Hello @${issue.user.login} :wave:
|
|
|
|
This issue is being automatically closed because it does not follow the issue template.
|
|
|