From 09a6d24ba8e97bc00f20ac45a74dfda1b5c08dd8 Mon Sep 17 00:00:00 2001 From: LukeGus Date: Wed, 24 Dec 2025 14:06:13 -0600 Subject: [PATCH] fix: translation workflow error --- .github/workflows/translate.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/translate.yml b/.github/workflows/translate.yml index 416c2e5b..890cda4d 100644 --- a/.github/workflows/translate.yml +++ b/.github/workflows/translate.yml @@ -3,6 +3,9 @@ name: Auto Translate on: workflow_dispatch: +permissions: + contents: write + jobs: translate: runs-on: ubuntu-latest @@ -10,6 +13,8 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Translate with i18n-ai-translate uses: taahamahdi/i18n-ai-translate@master