Close incomplete issue templates #3706
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
name: Close incomplete issue templates | |
on: | |
issues: | |
types: | |
- opened | |
permissions: | |
issues: write | |
jobs: | |
close-issues-if-invalid: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: ddbeck/invalid-issue-closer@v1 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
labels: "invalid :no_entry_sign:" | |
comment: | | |
This issue was automatically closed because the template has not been properly filled out. A summary has not been added to the title of the issue. | |
If this has been closed in error, edit the title and/or body, and post a follow-up comment. | |
normalize-newlines: true | |
title-contains: "<SUMMARIZE THE PROBLEM>" |