Skip to content

Commit 409cf90

Browse files
authored
Create issues.yml
1 parent 2a4690e commit 409cf90

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/issues.yml

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 # 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: Closing this issue because it appears to be empty. Please update the issue for it to be reopened.
21+
open_comment: Reopening this issue because the author provided more information.
22+
check_templates: true
23+
template_close_comment: Closing this issue since the issue template was not filled in. Please provide us with more information to have this issue reopened.
24+
template_open_comment: Reopening this issue because the author provided more information.

0 commit comments

Comments
 (0)