Skip to content

Commit a3c7748

Browse files
Add action for translating Non-English issues content to English (#333)
Signed-off-by: Carson Yang <[email protected]>
1 parent e367265 commit a3c7748

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: 'Github Rebot for issues-translator'
2+
on:
3+
issues:
4+
types: [ opened ]
5+
issue_comment:
6+
types: [ created ]
7+
jobs:
8+
translate:
9+
permissions:
10+
issues: write
11+
discussions: write
12+
pull-requests: write
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: usthe/[email protected]
16+
with:
17+
IS_MODIFY_TITLE: true
18+
BOT_GITHUB_TOKEN: ${{ secrets.GH_PAT }}
19+
CUSTOM_BOT_NOTE: Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿

0 commit comments

Comments
 (0)