Skip to content

Commit

Permalink
chore: 增加 insufficient information action bot
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoYuan committed Mar 7, 2022
1 parent e779380 commit 95d7394
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/help wanted.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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。
19 changes: 19 additions & 0 deletions .github/workflows/insufficient information.yml
Original file line number Diff line number Diff line change
@@ -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 模板补全信息。

0 comments on commit 95d7394

Please sign in to comment.