Skip to content

Commit

Permalink
Fine tune manual translations update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
BorisNikolic committed Jun 28, 2024
1 parent 3ace76c commit 64538d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/manual-translation-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,20 +43,20 @@ 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
run: |
git config user.email [email protected]
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 }}
Expand Down

0 comments on commit 64538d0

Please sign in to comment.