chore: add issue translator

refactor-extract-code
Meng Zhang 2023-11-07 00:49:14 -08:00
parent 3c3b14c9f5
commit ec50e4f391
1 changed files with 15 additions and 0 deletions

15
.github/workflows/issue-translator.yml vendored Normal file
View File

@ -0,0 +1,15 @@
name: 'issue-translator'
on:
issue_comment:
types: [created]
issues:
types: [opened]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: usthe/issues-translate-action@v2.7
with:
IS_MODIFY_TITLE: false
CUSTOM_BOT_NOTE: Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿