Skip to content

Fetch latest strings from the l10n repo #599

Fetch latest strings from the l10n repo

Fetch latest strings from the l10n repo #599

Workflow file for this run

name: Fetch latest strings from the l10n repo
on:
schedule:
# Run every night at 0:00
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
token: ${{ secrets.L10N_UPDATE_TOKEN }}
- name: Pull & update submodules recursively
run: |
git submodule update --init --recursive
git submodule update --recursive --remote
- name: Commit
run: |
git config user.email "[email protected]"
git config user.name "GitHub Actions — l10n sync"
git add --all
git commit --message="Merge in latest l10n strings" || echo "No changes to commit"
git push