Skip to content

Commit 397c145

Browse files
authored
Merge pull request #1571 from ElPaisano/ops/add-close-empty
Adds GitHub action to close empty issue
2 parents c55894b + ea131d0 commit 397c145

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
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 and templates
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v3
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: This issue has been automatically closed because no description was provided. Please provide us with more information to have this issue reopened.
21+
open_comment: This issue has been automatically reopened because the author provided more information.
22+
check_templates: true
23+
template_close_comment: This issue has been automatically closed because no description was provided. Please provide us with more information to have this issue reopened.
24+
template_open_comment: This issue has been automatically reopened because the author provided more information.

0 commit comments

Comments
 (0)