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}: \n\nThis issue is being automatically closed because it does not follow the issue template. Fix it to automatically re-open the issue." | |
closed-issues-label: "Not following issue template" |