Skip to content

Update Spanish (es) #643

Update Spanish (es)

Update Spanish (es) #643

Workflow file for this run

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 "actions@users.noreply.github.com"
git add .
git diff-index --quiet HEAD || git commit -m "Update Spanish (es) localizations"
git push