Skip to content

fix(tr-TR): automated translation updates (#49) #55

fix(tr-TR): automated translation updates (#49)

fix(tr-TR): automated translation updates (#49) #55

Workflow file for this run

name: AI translate
on:
push:
branches:
- main
workflow_dispatch:
jobs:
translate-and-pr:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Install pnpm
uses: pnpm/action-setup@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '18.3.0' # Specify your Node.js version
- name: Install dependencies
run: pnpm install
- name: Run reconcile
run: pnpm run reconcile
- name: Configure git
run: |
git config --global user.name 'AutoTranslator'
git config --global user.email 'hello@sanity.io'
- name: Run autotranslate
run: pnpm run autotranslate --git
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}