Create auto_close_issue.yml

This commit is contained in:
jb-alvarado 2024-09-02 21:43:15 +02:00 committed by GitHub
parent 1b365d79ed
commit a142f05496
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

12
.github/workflows/auto_close_issue.yml vendored Normal file
View File

@ -0,0 +1,12 @@
name: Autocloser
on: [issues]
jobs:
autoclose:
runs-on: ubuntu-latest
steps:
- name: Autoclose issues that did not follow issue template
uses: roots/issue-closer@v1.2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-close-message: "@${issue.user.login} this issue was automatically closed because it did not follow the issue template"
issue-pattern: ".*### Describe the bug|### Feature description.*"