This is an automated email from the ASF dual-hosted git repository.

dengliming pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shenyu.git


The following commit(s) were added to refs/heads/master by this push:
     new 5990f0a7a Add issue translator action. (#3913)
5990f0a7a is described below

commit 5990f0a7ab34e3fdd00d1434e50664b78c860da5
Author: DamonXue(Fibonacci) <[email protected]>
AuthorDate: Sun Sep 4 22:10:41 2022 +0800

    Add issue translator action. (#3913)
---
 .github/workflows/issue-translation.yml | 39 +++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/.github/workflows/issue-translation.yml 
b/.github/workflows/issue-translation.yml
new file mode 100644
index 000000000..3f2cd0a7f
--- /dev/null
+++ b/.github/workflows/issue-translation.yml
@@ -0,0 +1,39 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+name: 'issue-translator'
+
+on:
+  issue_comment:
+    types: [created]
+  issues:
+    types: [opened]
+
+jobs:
+  build:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: tomsun28/[email protected]
+        with:
+          BOT_GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
+          # Required, input your bot github token
+          BOT_LOGIN_NAME: Issues-translate-bot
+          # Not required, suggest not input, action will get name from 
BOT_GITHUB_TOKEN
+          # If input, BOT name must match github token
+          IS_MODIFY_TITLE: true
+          # 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.
\ No newline at end of file

Reply via email to