Skip to content

Commit ae2e527

Browse files
authored
feat: update issue translator in workflows
1 parent 72017b2 commit ae2e527

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: 'issue-translator'
2+
on:
3+
issue_comment:
4+
types: [created]
5+
issues:
6+
types: [opened]
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: usthe/issues-translate-action@v2.7
13+
with:
14+
BOT_GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
15+
IS_MODIFY_TITLE: true
16+
# not require, default false, . Decide whether to modify the issue title
17+
# if true, the robot account @Issues-translate-bot must have modification permissions, invite @Issues-translate-bot to your project or use your custom bot.
18+
CUSTOM_BOT_NOTE: Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿
19+
# not require. Customize the translation robot prefix message.

0 commit comments

Comments
 (0)