Skip to content

Commit 53383bd

Browse files
committed
Add auto close issues workflow
1 parent 9e98d60 commit 53383bd

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/issues.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: 'Close issues'
2+
3+
on:
4+
issues:
5+
types: [labeled]
6+
7+
jobs:
8+
questions:
9+
name: Questions
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Close issue
13+
uses: peter-evans/close-issue@v2
14+
if: "${{ github.event.label.name == ':speech_ballon: Question' }}"
15+
with:
16+
comment: Please note this issue tracker is not a help forum. We recommend using [Discussions](https://github.com/Devtography/electron-react-typescript-webpack-boilerplate/discussions) for questions.
17+
bug-without-repro:
18+
name: Bug reports without reproductions
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Close issue
22+
uses: peter-evans/close-issue@v2
23+
if: "${{ github.event.label.name == 'Needs Reproduction' }}"
24+
with:
25+
comment: As noted in the [Bug Report template](https://github.com/Devtography/electron-react-typescript-webpack-boilerplate/blob/develop/.github/ISSUE_TEMPLATE/bug.yml), all bug reports require a minimal reproduction. Please open a new issue providing one. Read more at https://stackoverflow.com/help/minimal-reproducible-example.

0 commit comments

Comments
 (0)