diff --git a/.github/workflows/issue-translator.yml b/.github/workflows/issue-translator.yml new file mode 100644 index 00000000..fd5b9c8e --- /dev/null +++ b/.github/workflows/issue-translator.yml @@ -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