-
Notifications
You must be signed in to change notification settings - Fork 2k
35 lines (31 loc) · 1.77 KB
/
close-incomplete-issues.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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 it appears to be empty. The issue is not different from the issue template and no actionable information has been provided.
If this has been closed in error, edit the title and body, and post a follow-up comment.
normalize-newlines: true
title-contains: "<PUT TITLE HERE>"
body-contains: "<!-- Tips: where applicable, specify browser name, browser version, and mobile operating system version -->\n\n#### What information was incorrect, unhelpful, or incomplete?\n\n#### What did you expect to see?\n\n#### Did you test this? If so, how?\n\n"
- uses: ddbeck/invalid-issue-closer@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
labels: "invalid :no_entry_sign:"
comment: |
This issue was automatically closed because it appears to be empty. The issue is not different from the issue template and no actionable information has been provided.
If this has been closed in error, edit the title and body, and post a follow-up comment.
normalize-newlines: true
title-contains: "<SUMMARIZE THE PROBLEM>"
body-contains: "<!-- Tips: where applicable, specify browser name, browser version, and mobile operating system version -->\n\n#### What information was incorrect, unhelpful, or incomplete?\n#### What did you expect to see?\n#### Did you test this? If so, how?\n"