Update Spanish (es) #780
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update Spanish (es) | |
on: | |
schedule: | |
- cron: "0 5 * * *" | |
workflow_dispatch: | |
jobs: | |
copy: | |
name: Copy translations | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v4 | |
- name: Set up Python 3 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- name: Copy translations from es-ES to es | |
run: | | |
python .github/scripts/copy_locale.py --source es-ES --dest es --path mozilla-mobile/android-components | |
python .github/scripts/copy_locale.py --source es-ES --dest es --path mozilla-mobile/fenix | |
- name: Set up git and commit | |
run : | | |
git config user.name "l10n-bot" | |
git config user.email "[email protected]" | |
git add . | |
git diff-index --quiet HEAD || git commit -m "Update Spanish (es) localizations" | |
git push |