diff --git a/.github/workflows/issue-reply.yml b/.github/workflows/issue-reply.yml new file mode 100644 index 00000000..a105f367 --- /dev/null +++ b/.github/workflows/issue-reply.yml @@ -0,0 +1,31 @@ +name: Issue Reply + +on: + issues: + types: [labeled] + +jobs: + issue-reply: + runs-on: ubuntu-latest + steps: + - name: pending + if: github.event.label.name == 'pending' + uses: actions-cool/issues-helper@v3 + with: + actions: 'create-comment' + issue-number: ${{ github.event.issue.number }} + body: | + 你好, ${{ github.event.issue.user.login }}。 + + 看起来这条 issue 描述得有些模糊,缺少一些必要的信息,推荐阅读一下[贡献指南](https://github.com/Moonofweisheng/wot-design-uni/blob/master/.github/CONTRIBUTING.md)。 + + - name: need reproduce + if: github.event.label.name == 'need reproduce' + uses: actions-cool/issues-helper@v3 + with: + actions: 'create-comment' + issue-number: ${{ github.event.issue.number }} + body: | + 你好, ${{ github.event.issue.user.login }}。 + + 我们需要你提供一个最小重现demo,以便于我们帮你排查问题。你可以通过 fork [wot-starter-retail](https://github.com/Moonofweisheng/wot-starter-retail) 并添加相关复现逻辑来提供。