mirror of
https://github.com/fastapi/fastapi.git
synced 2026-05-25 00:37:44 -04:00
⚒️ Tweak translate script and CI (#13939)
This commit is contained in:
committed by
GitHub
parent
c74e7d1ce4
commit
9aab3d9e22
4
.github/workflows/translate.yml
vendored
4
.github/workflows/translate.yml
vendored
@@ -17,7 +17,7 @@ on:
|
||||
- add-missing
|
||||
- update-and-add
|
||||
- remove-all-removable
|
||||
lang:
|
||||
language:
|
||||
description: Language to translate to as a letter code (e.g. "es" for Spanish)
|
||||
type: string
|
||||
required: false
|
||||
@@ -73,5 +73,5 @@ jobs:
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.FASTAPI_TRANSLATIONS }}
|
||||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
||||
LANG: ${{ github.event.inputs.lang }}
|
||||
LANGUAGE: ${{ github.event.inputs.language }}
|
||||
EN_PATH: ${{ github.event.inputs.en_path }}
|
||||
|
||||
Reference in New Issue
Block a user