This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
issues: | |
types: [opened, edited] | |
jobs: | |
auto_close_issues: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Automatically close issues that don't follow the issue template | |
uses: lucasbento/[email protected] | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
issue-close-message: "@${issue.user.login}: Hello! :wave:\nThis issue is closed because it does not follow the issue template.\nPlease read the issue template and make sure all fields are filled out when you open an issue." | |
closed-issues-label: "template not followed" |