Skip to content

Commit a10f25a

Browse files
ci: add issue-translator workflow for automatic issue translation
1 parent 74b34bd commit a10f25a

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/[email protected]
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)