Browse Source

modify issues translation robot (#5614)

* Add issue robot automatic reply and Translation
2.0.7-release
xingchun-chen 3 years ago committed by GitHub
parent
commit
d70fdf2a65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      .github/actions/issues-translate
  2. 1
      .github/actions/translation-on-issue
  3. 7
      .github/workflows/issue_robot.yml
  4. 6
      .gitmodules

1
.github/actions/issues-translate

@ -0,0 +1 @@
Subproject commit b4a675cc16d1826524553771d6b8b1c6c5c51be0

1
.github/actions/translation-on-issue

@ -1 +0,0 @@
Subproject commit 4b5062133773227695d089319f0374ff0868c9fb

7
.github/workflows/issue_robot.yml

@ -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

6
.gitmodules vendored

@ -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

Loading…
Cancel
Save