From c5c265761fae00ce5ecf97e738e1fe02268287d5 Mon Sep 17 00:00:00 2001 From: borisprimer <137198782+borisprimer@users.noreply.github.com> Date: Tue, 9 Jul 2024 11:19:01 +0200 Subject: [PATCH] chore: Fine tune manual translations update workflow (#925) Fine tune manual translations update workflow Co-authored-by: Boris Nikolic --- .github/workflows/manual-translation-update.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/manual-translation-update.yml b/.github/workflows/manual-translation-update.yml index f88cdd81e9..62c9a4c6e9 100644 --- a/.github/workflows/manual-translation-update.yml +++ b/.github/workflows/manual-translation-update.yml @@ -43,12 +43,12 @@ jobs: - name: Check for changes in translations folder run: | - if git diff --quiet Sources/PrimerSDK/Resources/Localizable; then + if git diff --quiet; then echo "No changes detected in translations folder. Exiting." exit 1 else echo "Changes detected:" - git diff Sources/PrimerSDK/Resources/Localizable + git diff fi - name: Commit and Push Changes @@ -56,7 +56,7 @@ jobs: git config user.email action@github.com git config user.name "GitHub Action" git checkout -b update-translations/${{ github.event.inputs.branch }} - git add Sources/PrimerSDK/Resources/Localizable + git add . git commit -m "Update translations" git push -u origin update-translations/${{ github.event.inputs.branch }}