chore: 增加 insufficient information action bot

This commit is contained in:
LeoYuan 袁力皓 2022-03-07 13:51:26 +08:00
parent e77938086c
commit 95d7394830
2 changed files with 20 additions and 1 deletions

View File

@ -16,6 +16,6 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
body: |
Hello @${{ github.event.issue.user.login }}. We totally like your proposal/feedback, welcome PR
Hello @${{ github.event.issue.user.login }}. We totally like your proposal/feedback, PR wanted
你好 @${{ github.event.issue.user.login }},我们完全同意你的提议/反馈,欢迎 PR。

View File

@ -0,0 +1,19 @@
name: Issue Reply
on:
issues:
types: [labeled]
jobs:
reply-helper:
runs-on: ubuntu-latest
steps:
- name: insufficient information
if: github.event.label.name == 'insufficient information'
uses: actions-cool/issues-helper@v2
with:
actions: 'create-comment'
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
body: |
你好 @${{ github.event.issue.user.login }},由于缺乏必要的信息(如 bug 重现步骤、引擎版本信息 等),无法定位问题,请按照 issue bug 模板补全信息。