main.yml 585 B

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