This repository has been archived by the owner on Sep 17, 2024. It is now read-only.
Merge branch 'main' into pre_main_qa #869
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Translate | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
translate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: translate | |
uses: sheenhx/translatei18n | |
with: | |
GIT_COMMIT_HASH: ${{ github.event.pull_request.head.sha }} | |
GIT_PATCH_OUTPUT: ${{ github.event.pull_request.patch_url }} | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} | |
OPENAI_ORG_KEY: ${{ secrets.OPENAI_ORG_KEY }} | |
PR_NUMBER: ${{ github.event.pull_request.number }} | |
PR_TITLE: ${{ github.event.pull_request.title }} | |
REPOSITORY_NAME: ${{ github.repository }} |