From 33ed5aecdf978bc2802bde4505d368f96f3c279f Mon Sep 17 00:00:00 2001 From: Motov Yurii <109919500+YuriiMotov@users.noreply.github.com> Date: Fri, 1 May 2026 16:29:41 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Fix=20missing=20credentials=20is?= =?UTF-8?q?sue=20in=20`translate`=20workflow=20(#15468)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/translate.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/translate.yml b/.github/workflows/translate.yml index 22fd7e4f15..87023623ed 100644 --- a/.github/workflows/translate.yml +++ b/.github/workflows/translate.yml @@ -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: