chore: 🚀 增加issue-reply

This commit is contained in:
weisheng 2024-07-15 23:11:07 +08:00
parent 82357f916d
commit 0dbad81748

31
.github/workflows/issue-reply.yml vendored Normal file
View File

@ -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) 并添加相关复现逻辑来提供。