From 30c1cfbd8cebf69bdb7f95549f94e87fb2703951 Mon Sep 17 00:00:00 2001 From: quorafind <951011105@qq.com> Date: Sat, 30 Mar 2024 22:39:46 +0800 Subject: [PATCH] chore: update workflow --- .github/workflows/issue-translate.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/issue-translate.yml diff --git a/.github/workflows/issue-translate.yml b/.github/workflows/issue-translate.yml new file mode 100644 index 0000000..d6af740 --- /dev/null +++ b/.github/workflows/issue-translate.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.