From 0dbad8174874bf6ca366a37f1818b0edbe2babb9 Mon Sep 17 00:00:00 2001 From: weisheng <1780903673@qq.com> Date: Mon, 15 Jul 2024 23:11:07 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=9A=80=20=E5=A2=9E=E5=8A=A0issue?= =?UTF-8?q?-reply?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/issue-reply.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/issue-reply.yml 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) 并添加相关复现逻辑来提供。