Issues Translate Action
The action for translating Non-English issues content to English.
Usage
Use the default bot account @Issues-translate-bot
Create a workflow from this action
Create file issue-translator.yml in .github/workflows/
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
# 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.
Advanced Custom
Use your own bot by add BOT_GITHUB_TOKEN
-
Create a new github account as your bot
-
Use the account to generate a new token as BOT_GITHUB_TOKEN
-
Add the Secrets BOT_GITHUB_TOKEN = ${token} in your project
-
Create a workflow from this action(Create file issue-translator.yml in .github/workflows/)
name: 'issue-translator'
on:
issue_comment:
types: [created]
issues:
types: [opened]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: usthe/[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
Other
- invite @Issues-translate-bot to your project.
Project -> Settings -> Manage access -> Invite a collaborator
Post an issue in issues-translate-action to let us know, the @Issues-translate-bot will join soon.
DEMO
Who Use the Action?
- hertzbeat Create By Us - A real-time monitoring system with custom-monitor and agentless.
- sureness Create By Us - A simple and efficient security framework that focus on protection of API.
- go-zero - A cloud-native Go microservices framework with cli tool for productivity.
- dashy - A self-hostable personal dashboard built for you.
- wails - Create beautiful applications using Go
- seata-go - Go Implementation For Seata
- rainbond - Cloud native multi cloud application management platform
- adempiere - ADempiere Business Suite done the Bazaar way in an open and unabated fashion.
- carbon - A simple, semantic and developer-friendly golang package for datetime
- tabby - A terminal for a more modern age
- gorse - An open source recommender system service written in Go
Have Fun!
✨
Contributors tomsun28 |
All Contributors |
chen quan 💻 |