From 13e0ea822be9fd2a0f31356c4596b813296b1311 Mon Sep 17 00:00:00 2001 From: Julian Dominguez-Schatz Date: Sat, 4 Jan 2025 15:25:24 -0500 Subject: [PATCH] Don't commit translations during the merge freeze --- .github/workflows/i18n-string-sync-master.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/i18n-string-sync-master.yml b/.github/workflows/i18n-string-sync-master.yml index baeda0761fc..6bf02361fcf 100644 --- a/.github/workflows/i18n-string-sync-master.yml +++ b/.github/workflows/i18n-string-sync-master.yml @@ -44,9 +44,15 @@ jobs: run: | git config --global user.name "github-actions[bot]" git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" + - name: Check mergefreeze status + id: mergefreeze + shell: bash # Enable pipefail + run: | + echo mergefreeze=$(curl "https://www.mergefreeze.com/api/branches/actualbudget/actual/master?access_token=${{ secrets.MERGEFREEZE_API_KEY}}" | jq -r .frozen) > $GITHUB_OUTPUT - name: Pull latest translations working-directory: actual + if: ${{steps.mergefreeze}} run: | # Not using git subtree to avoid merge commits cp -r ../translations/*.json packages/desktop-client/locale/