You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Issues Translator
v1.2
The action for translating non-English issues comment content to English.
Use the default bot @Issues-translate-bot
name: 'issue-comment-translator'
on: # support issue_comment issue
issues:
issue_comment:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: tomsun28/[email protected]
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
name: 'issue-comment-translator'
on: # support issue_comment issue
issues:
issue_comment:
branches:
- main
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: nameValue - not required, suggest not input, action will get name from BOT_GITHUB_TOKEN
Have Fun!