mirror of
https://gitee.com/wot-design-uni/wot-design-uni.git
synced 2025-12-07 01:28:30 +08:00
chore: 🚀 增加issue-reply
This commit is contained in:
parent
82357f916d
commit
0dbad81748
31
.github/workflows/issue-reply.yml
vendored
Normal file
31
.github/workflows/issue-reply.yml
vendored
Normal 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) 并添加相关复现逻辑来提供。
|
||||||
Loading…
x
Reference in New Issue
Block a user