From 9d432230ba0c006efeaf0d448e2cbac409f88f60 Mon Sep 17 00:00:00 2001 From: Frank Lee Date: Tue, 10 Jan 2023 12:06:01 +0800 Subject: [PATCH] [workflow] added translation for non-english comments (#2414) --- .github/workflows/translate_comment.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/translate_comment.yml diff --git a/.github/workflows/translate_comment.yml b/.github/workflows/translate_comment.yml new file mode 100644 index 000000000..83c127b3c --- /dev/null +++ b/.github/workflows/translate_comment.yml @@ -0,0 +1,18 @@ +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 + # not require, default false, . Decide whether to modify the issue title + # if true, the robot account @Issues-translate-bot must have modification permissions, invite @Issues-translate-bot to your project or use your custom bot. + CUSTOM_BOT_NOTE: Bot detected the issue body's language is not English, translate it automatically. πŸ‘―πŸ‘­πŸ»πŸ§‘β€πŸ€β€πŸ§‘πŸ‘«πŸ§‘πŸΏβ€πŸ€β€πŸ§‘πŸ»πŸ‘©πŸΎβ€πŸ€β€πŸ‘¨πŸΏπŸ‘¬πŸΏ + # not require. Customize the translation robot prefix message.