Skip to content

PR Translation

PR Translation #22

name: PR Translation
on:
pull_request:
types: [opened]
issue_comment:
types: [created]
pull_request_review_comment:
types: [created]
pull_request_review:
types: [submitted, dismissed]
jobs:
translate:
runs-on: ubuntu-latest
steps:
- name: Translate
uses: yhosun/[email protected]
with:
language-1: 'en'
repo-token: ${{ secrets.GITHUB_TOKEN }}
google-project-id: 'ecstatic-branch-398907'
google-credentials: ${{ secrets.GOOGLE_TRANSLATION_API }}