👷 Fix missing credentials issue in translate workflow (#15468)

This commit is contained in:
Motov Yurii
2026-05-01 16:29:41 +02:00
committed by GitHub
parent d8a2c1edaa
commit 33ed5aecdf

View File

@@ -79,6 +79,8 @@ jobs:
if: github.repository_owner == 'fastapi'
needs: langs
runs-on: ubuntu-latest
permissions:
contents: write
strategy:
matrix:
lang: ${{ fromJson(needs.langs.outputs.langs) }}
@@ -91,7 +93,7 @@ jobs:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
persist-credentials: false
persist-credentials: true # Required for `git push` in `translate.py`
- name: Set up Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with: