1on:
2  issues:
3    types: [opened, edited]
4
5jobs:
6  auto_close_issues:
7    runs-on: ubuntu-latest
8    steps:
9      - name: Checkout
10        uses: actions/checkout@v1
11      - name: Automatically close issues that don't follow the issue template
12        uses: lucasbento/auto-close-issues@v1.0.2
13        with:
14          github-token: ${{ secrets.GITHUB_TOKEN }}
15          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
16          closed-issues-label: "not-template"
17