chore: create need-reproduce.yml (#3240)

* chore: create need-reproduce.yml

* Update .github/workflows/need-reproduce.yml
This commit is contained in:
xrkffgg 2020-11-22 23:29:23 +08:00 committed by GitHub
parent 607fdf7d79
commit 32d327cb4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

19
.github/workflows/need-reproduce.yml vendored Normal file
View File

@ -0,0 +1,19 @@
name: Add need reproduce
on:
issues:
types: [labeled]
jobs:
add-need-reproduce:
runs-on: ubuntu-latest
if: github.event.label.name == '🤔 Need Reproduce'
steps:
- name: Create comment
uses: peter-evans/create-or-update-comment@v1
with:
issue-number: ${{ github.event.issue.number }}
body: |
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.
你好 @${{ github.event.issue.user.login }}, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击 [此处](https://codesandbox.io/s/2wpk21kzvr) 创建一个 codesandbox 或者提供一个最小化的 GitHub 仓库。请确保选择准确的版本。