From 92683a2d676b19b7a4f6b89712fa28d0d8afeb01 Mon Sep 17 00:00:00 2001 From: prince-deriv <82309725+prince-deriv@users.noreply.github.com> Date: Fri, 10 Nov 2023 12:01:11 +0400 Subject: [PATCH] Update translation-sync.yml (#5886) --- .github/workflows/translation-sync.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/translation-sync.yml b/.github/workflows/translation-sync.yml index 078032eedab..de4f273257e 100644 --- a/.github/workflows/translation-sync.yml +++ b/.github/workflows/translation-sync.yml @@ -36,8 +36,7 @@ jobs: echo 'Fetch Crowdin Master Translation ⬇️' crowdin download -b master -T ${{ secrets.CROWDIN_API_KEY }} && crowdin download -b master -l zh-CN -T ${{ secrets.CROWDIN_API_KEY }} - echo "GIT STATUS: $(git status --porcelain)" - + if [ -n "$(git status --porcelain)" ]; then # New strings are added, create a PR to update the master @@ -49,6 +48,7 @@ jobs: # Commit the newly downloaded files cd $(git rev-parse --show-toplevel) + echo "GIT STATUS: $(git status --porcelain)" git add . echo "Checking out new branch [$branch_name]"