issue-reply.temp.yml 790 B

12345678910111213141516171819202122
  1. # force copy from tencent/tdesign
  2. # 当被打上 Need Reproduce 标签时候,自动提示需要重现实例
  3. name: ISSUE_REPLY
  4. on:
  5. issues:
  6. types: [labeled]
  7. jobs:
  8. issue-reply:
  9. runs-on: ubuntu-latest
  10. steps:
  11. - name: Need Reproduce
  12. if: github.event.label.name == 'Need Reproduce'
  13. uses: actions-cool/issues-helper@v2
  14. with:
  15. actions: 'create-comment'
  16. issue-number: ${{ github.event.issue.number }}
  17. body: |
  18. 你好 @${{ github.event.issue.user.login }}, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击 [此处](https://codesandbox.io/) 创建一个 codesandbox 或者提供一个最小化的 GitHub 仓库。请确保选择准确的版本。