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

modify issues translation robot (#5614)

* Add issue robot automatic reply and Translation
上级 0d303a80
Subproject commit b4a675cc16d1826524553771d6b8b1c6c5c51be0
Subproject commit 4b5062133773227695d089319f0374ff0868c9fb
......@@ -20,6 +20,8 @@ name: issue-robot
on:
issues:
types: [opened]
issue_comment:
types: [created]
jobs:
issueRobot:
......@@ -32,10 +34,9 @@ jobs:
submodules: true
- name: "Translation into English in issue"
uses: ./.github/actions/translation-on-issue
uses: ./.github/actions/issues-translate
with:
translate-title: true
translate-body: false
BOT_GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
- 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/translation-on-issue"]
path = .github/actions/translation-on-issue
url = https://github.com/xingchun-chen/translation-helper
[submodule ".github/actions/issues-translate"]
path = .github/actions/issues-translate
url = https://github.com/xingchun-chen/issues-translate-action.git
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册