Skip to content

Commit

Permalink
chore: Fine tune manual translations update workflow (#925)
Browse files Browse the repository at this point in the history
Fine tune manual translations update workflow

Co-authored-by: Boris Nikolic <[email protected]>
  • Loading branch information
borisprimer and BorisNikolic authored Jul 9, 2024
1 parent 35a03ba commit c5c2657
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 c5c2657

Please sign in to comment.