未验证 提交 b436ef0a 编写于 作者: X xingchun-chen 提交者: GitHub

modify issues translation robot (#5624)

* Add issue robot automatic reply and Translation
Co-authored-by: weixin_41213428's avatarchenxingchun <438044805@qq.com>
上级 5d3b75a0
Subproject commit b4a675cc16d1826524553771d6b8b1c6c5c51be0
Subproject commit 959b66feb4231b08e8251422ac6d469cdc03d140
......@@ -20,8 +20,6 @@ name: issue-robot
on:
issues:
types: [opened]
issue_comment:
types: [created]
jobs:
issueRobot:
......@@ -34,9 +32,10 @@ jobs:
submodules: true
- name: "Translation into English in issue"
uses: ./.github/actions/issues-translate
uses: ./.github/actions/translate-on-issue
with:
BOT_GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
translate-title: true
translate-body: true
- name: "Comment in issue"
uses: ./.github/actions/comment-on-issue
......
......@@ -21,6 +21,6 @@
[submodule ".github/actions/lable-on-issue"]
path = .github/actions/lable-on-issue
url = https://github.com/xingchun-chen/labeler
[submodule ".github/actions/issues-translate"]
path = .github/actions/issues-translate
url = https://github.com/xingchun-chen/issues-translate-action.git
[submodule ".github/actions/translate-on-issue"]
path = .github/actions/translate-on-issue
url = https://github.com/xingchun-chen/translation-helper.git
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册