-
-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6620d3a
commit eafe544
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Close empty issues and templates | ||
on: | ||
issues: | ||
types: | ||
- reopened | ||
- opened | ||
- edited | ||
|
||
jobs: | ||
closeEmptyIssuesAndTemplates: | ||
name: Close empty issues and templates | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 # NOTE: Retrieve issue templates. | ||
- name: Run empty issues closer action | ||
uses: rickstaa/[email protected] | ||
env: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
close_comment: Closing this issue because it appears to be empty. Please update the issue for it to be reopened. | ||
open_comment: Reopening this issue because the author provided more information. | ||
check_templates: true | ||
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. | ||
template_open_comment: Reopening this issue because the author provided more information. |