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 CalvinKirs
parent
commit
6e818032b9
  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: on:
issues: issues:
types: [opened] types: [opened]
issue_comment:
types: [created]
jobs: jobs:
issueRobot: issueRobot:
@ -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

6
.gitmodules vendored

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

Loading…
Cancel
Save