forked from CaoMeiYouRen/github-translate-action
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
21 lines (20 loc) · 914 Bytes
/
action.yml
File metadata and controls
21 lines (20 loc) · 914 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
name: "Custom GitHub Translator"
description: "Automatically translate non target language GitHub problems and GitHub discussions into the target language."
branding:
icon: "repeat"
color: "purple"
author: "CaoMeiYouRen"
inputs:
IS_MODIFY_TITLE:
description: "Is need modify issue title, true or false, default false."
APPEND_TRANSLATION:
description: "append translation content into issue instead of create new translation issue."
CUSTOM_BOT_NOTE:
description: "Custom bot note message."
TARGET_LANGUAGE:
description: "The target language to be translated into, all other languages will be translated. Please use the Language Code of ISO 639-3(https://github.com/wooorm/franc)."
TRANSLATED_LANGUAGE:
description: "Translated language, please refer to https://github.com/tomsun28/google-translate-api/blob/master/src/languages.js"
runs:
using: "node20"
main: "dist/main.js"