-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add GH Action that autocloses question issues
- Loading branch information
Showing
1 changed file
with
15 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,15 @@ | ||
name: 'Close issues' | ||
|
||
on: | ||
issues: | ||
types: [labeled] | ||
|
||
jobs: | ||
questions: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Close Issue | ||
uses: peter-evans/close-issue@v1 | ||
if: "${{ github.event.label.name == ':speech_balloon: Question' }}" | ||
with: | ||
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. |