From 40a447b22edafb72c9e863a7060380afd28bfd24 Mon Sep 17 00:00:00 2001 From: James Rich <2199651+jamesarich@users.noreply.github.com> Date: Thu, 20 Nov 2025 18:54:47 -0600 Subject: [PATCH] ci(workflows): Preserve hierarchy when uploading sources to Crowdin (#3763) --- .github/workflows/scheduled-updates.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/scheduled-updates.yml b/.github/workflows/scheduled-updates.yml index caf897dfd..22661f687 100644 --- a/.github/workflows/scheduled-updates.yml +++ b/.github/workflows/scheduled-updates.yml @@ -16,6 +16,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v6 + with: + persist-credentials: 'true' - name: Update firmware releases list run: | @@ -62,6 +64,7 @@ jobs: config: 'crowdin.yml' crowdin_branch_name: 'main' upload_sources: true + upload_sources_args: '--preserve-hierarchy' upload_translations: false download_translations: true create_pull_request: false @@ -78,7 +81,7 @@ jobs: - name: Create Pull Request if changes occurred uses: peter-evans/create-pull-request@v7 with: - token: ${{ secrets.CROWDIN_GITHUB_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} commit-message: | chore: Scheduled updates (Firmware, Hardware, Translations)