diff --git a/.github/workflows/translation.yml b/.github/workflows/translation.yml index 7dc5b66..8958cee 100644 --- a/.github/workflows/translation.yml +++ b/.github/workflows/translation.yml @@ -15,7 +15,10 @@ jobs: - run: | git config --global user.name "Traccar Bot" git config --global user.email "support@traccar.org" - git add lib/l10n/*.arb + for f in lib/l10n/*.arb; do + [[ $f == *"_en.arb" ]] && continue + diff -q "$f" lib/l10n/app_en.arb || git add "$f" + done git diff --cached --quiet || git commit -m "Update translations" git push env: