Skip to content

Commit 696c472

Browse files
committed
chore: add GH Action that autocloses question issues
1 parent 7ffa4f8 commit 696c472

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/issues.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: 'Close issues'
2+
3+
on:
4+
issues:
5+
types: [labeled]
6+
7+
jobs:
8+
questions:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Close Issue
12+
uses: peter-evans/close-issue@v1
13+
if: "${{ github.event.label.name == ':speech_balloon: Question' }}"
14+
with:
15+
comment: Please note this issue tracker is not a help forum. We recommend using [StackOverflow](https://stackoverflow.com/questions/tagged/jestjs) or our [discord channel](https://discord.gg/j6FKKQQrW9) for questions.

0 commit comments

Comments
 (0)