2024-06-30 08:35:16 +00:00
|
|
|
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
|
2024-06-30 09:09:47 +00:00
|
|
|
uses: roots/issue-closer@v1.1
|
2024-06-30 08:35:16 +00:00
|
|
|
with:
|
2024-06-30 09:09:47 +00:00
|
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
2024-06-30 09:30:18 +00:00
|
|
|
issue-pattern: ".*Describe the (bug|feature|goal).*"
|
2024-06-30 08:47:19 +00:00
|
|
|
issue-close-message: |-
|
2024-06-30 09:11:47 +00:00
|
|
|
Hello @${issue.user.login} :wave:
|
2024-06-30 08:47:19 +00:00
|
|
|
|
|
|
|
This issue is being automatically closed because it does not follow the issue template.
|
|
|
|
|