👷 Adds GH action to translate foreign language issues

This commit is contained in:
Alicia Sykes 2021-07-22 23:30:40 +01:00 committed by GitHub
parent 4c6ba0a817
commit 366bd0afbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

@ -0,0 +1,16 @@
# Will translate any issues opened in foraign language, and add the English translation as a comment
name: 'Issue Translator'
on:
issue_comment:
types: [created]
issues:
types: [opened]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: tomsun28/issues-translate-action@v2.5
with:
BOT_GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
BOT_LOGIN_NAME: Issues-translate-bot