Browse Source

Create issue-translator.yml

Yifei Zhang 1 year ago
parent
commit
3aca699ad9
1 changed files with 15 additions and 0 deletions
  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/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.