Skip to content

Commit 192170c

Browse files
ci: add empty issues closer action (#2004)
Co-authored-by: Prashubh Atri <[email protected]> Co-authored-by: Prashubh Atri <[email protected]>
1 parent 4c2307a commit 192170c

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Close empty issues and templates
2+
on:
3+
issues:
4+
types:
5+
- reopened
6+
- opened
7+
- edited
8+
9+
jobs:
10+
closeEmptyIssuesAndTemplates:
11+
name: Close empty issues
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v3 # NOTE: Retrieve issue templates.
15+
- name: Run empty issues closer action
16+
uses: rickstaa/empty-issues-closer-action@v1
17+
env:
18+
github_token: ${{ secrets.GITHUB_TOKEN }}
19+
with:
20+
close_comment:
21+
Closing this issue because it appears to be empty. Please update the
22+
issue for it to be reopened.
23+
open_comment:
24+
Reopening this issue because the author provided more information.
25+
check_templates: true
26+
template_close_comment:
27+
Closing this issue since the issue template was not filled in.
28+
Please provide us with more information to have this issue reopened.
29+
template_open_comment:
30+
Reopening this issue because the author provided more information.

0 commit comments

Comments
 (0)