Skip to content

Commit 4cf7ec0

Browse files
authored
chore: create issue reply
1 parent ab45bc5 commit 4cf7ec0

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/issue-reply.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Issue reply
2+
3+
on:
4+
issues:
5+
types: [labeled]
6+
7+
jobs:
8+
reply-help:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: help wanted
12+
if: github.event.label.name == 'help wanted' || github.event.label.name == 'PR welcome'
13+
uses: actions-cool/[email protected]
14+
with:
15+
actions: 'create-comment'
16+
token: ${{ secrets.GITHUB_TOKEN }}
17+
issue-number: ${{ github.event.issue.number }}
18+
body: |
19+
Hello @${{ github.event.issue.user.login }}. We totally like your proposal/feedback, welcome to send us a Pull Request for it. Please provide changelog/TypeScript/documentation/test cases if needed and make sure CI passed, we will review it soon. We appreciate your effort in advance and looking forward to your contribution!
20+
21+
- name: need reproduce
22+
if: github.event.label.name == 'need reproduce'
23+
uses: actions-cool/[email protected]
24+
with:
25+
actions: 'create-comment'
26+
issue-number: ${{ github.event.issue.number }}
27+
body: |
28+
Hello @${{ github.event.issue.user.login }}. Please provide a online reproduction by forking this link https://codesandbox.io or a minimal GitHub repository.

0 commit comments

Comments
 (0)