# Close any issue that does not match any of the issue templates
name:🎯 Close Incomplete Issues
on:
issues:
types:[opened, edited]
jobs:
auto_close_issues:
runs-on:ubuntu-latest
@ -11,6 +12,10 @@ jobs:
- name:Automatically close issues that don't follow the issue template
uses:lucasbento/auto-close-issues@v1.0.2
with:
github-token:${{ secrets.GITHUB_TOKEN }}
issue-close-message:"@${issue.user.login}: hello! :wave:\n\nThis issue is being automatically closed because it does not follow the issue template."# optional property
closed-issues-label:"🙁 Not following issue template"# optional property