未验证 提交 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 ...@@ -20,6 +20,8 @@ name: issue-robot
on: on:
issues: issues:
types: [opened] types: [opened]
issue_comment:
types: [created]
jobs: jobs:
issueRobot: issueRobot:
...@@ -32,10 +34,9 @@ jobs: ...@@ -32,10 +34,9 @@ jobs:
submodules: true submodules: true
- name: "Translation into English in issue" - name: "Translation into English in issue"
uses: ./.github/actions/translation-on-issue uses: ./.github/actions/issues-translate
with: with:
translate-title: true BOT_GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
translate-body: false
- name: "Comment in issue" - name: "Comment in issue"
uses: ./.github/actions/comment-on-issue uses: ./.github/actions/comment-on-issue
......
...@@ -21,6 +21,6 @@ ...@@ -21,6 +21,6 @@
[submodule ".github/actions/lable-on-issue"] [submodule ".github/actions/lable-on-issue"]
path = .github/actions/lable-on-issue path = .github/actions/lable-on-issue
url = https://github.com/xingchun-chen/labeler url = https://github.com/xingchun-chen/labeler
[submodule ".github/actions/translation-on-issue"] [submodule ".github/actions/issues-translate"]
path = .github/actions/translation-on-issue path = .github/actions/issues-translate
url = https://github.com/xingchun-chen/translation-helper 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.
先完成此消息的编辑!
想要评论请 注册