feat: issue translator workflow (#956)

Create issue-translator.yml
This commit is contained in:
Jasper Platenburg 2023-01-15 14:33:19 +01:00 committed by GitHub
parent 14ec81b65c
commit 288ecc617d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

18
.github/workflows/issue-translator.yml vendored Normal file
View file

@ -0,0 +1,18 @@
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
# 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: Issue is not in English. It has been translated automatically.
# not require. Customize the translation robot prefix message.