Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

fix: Update shared #564

fix: Update shared

fix: Update shared #564

Workflow file for this run

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 }}