Skip to content

Commit

Permalink
Add: Autocloser
Browse files Browse the repository at this point in the history
  • Loading branch information
JurajNyiri committed Mar 7, 2022
1 parent 5274a29 commit 69d6d2c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/issues.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
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: ".*A clear and concise description of what the bug is.*|.*Is your feature request related to a problem.*"

0 comments on commit 69d6d2c

Please sign in to comment.