Create auto_close_issue.yml
This commit is contained in:
parent
1b365d79ed
commit
a142f05496
12
.github/workflows/auto_close_issue.yml
vendored
Normal file
12
.github/workflows/auto_close_issue.yml
vendored
Normal 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.*"
|
Loading…
Reference in New Issue
Block a user