Skip to content

Commit 32d327c

Browse files
authored
chore: create need-reproduce.yml (#3240)
* chore: create need-reproduce.yml * Update .github/workflows/need-reproduce.yml
1 parent 607fdf7 commit 32d327c

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/need-reproduce.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Add need reproduce
2+
3+
on:
4+
issues:
5+
types: [labeled]
6+
7+
jobs:
8+
add-need-reproduce:
9+
runs-on: ubuntu-latest
10+
if: github.event.label.name == '🤔 Need Reproduce'
11+
steps:
12+
- name: Create comment
13+
uses: peter-evans/create-or-update-comment@v1
14+
with:
15+
issue-number: ${{ github.event.issue.number }}
16+
body: |
17+
Hello @${{ github.event.issue.user.login }}. Please provide a online reproduction by forking this [link](https://codesandbox.io/s/2wpk21kzvr) or a minimal GitHub repository.Make sure to choose the correct version.
18+
19+
你好 @${{ github.event.issue.user.login }}, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击 [此处](https://codesandbox.io/s/2wpk21kzvr) 创建一个 codesandbox 或者提供一个最小化的 GitHub 仓库。请确保选择准确的版本。

0 commit comments

Comments
 (0)