浏览代码

add issue translator

ruki 2 年之前
父节点
当前提交
c3615403b2
共有 1 个文件被更改,包括 15 次插入0 次删除
  1. 15 0
      .github/workflows/issue-translator.yml

+ 15 - 0
.github/workflows/issue-translator.yml

@@ -0,0 +1,15 @@
+name: 'issue-translator'
+on:
+  issue_comment:
+    types: [created]
+  issues:
+    types: [opened]
+
+jobs:
+  build:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: usthe/[email protected]
+        with:
+          IS_MODIFY_TITLE: false
+          CUSTOM_BOT_NOTE: Bot detected the issue body's language is not English, translate it automatically.