Pontoon: Update German (de) localization of Nimbus Experiments #146
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: Extract strings | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
extraction: | |
concurrency: | |
group: ${{ github.ref }} | |
cancel-in-progress: true | |
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.11' | |
cache: 'pip' | |
- name: Install Python dependencies | |
run: | | |
pip install -r .github/requirements.txt | |
- name: Extract strings | |
run: > | |
python .github/scripts/extract_strings.py | |
--toml l10n.toml | |
--dest .github/storage | |
- name: Add comment on completion | |
run: > | |
python .github/scripts/comment_complete_experiment.py | |
--repo ${{ github.repository }} | |
--token ${{ secrets.API_GITHUB_TOKEN }} | |
- name: Commit changes | |
continue-on-error: true | |
run : | | |
# Commit changes. Failure is allowed if there is nothing to commit. | |
git config --global user.email '[email protected]' | |
git config --global user.name 'Francesco Lodolo [:flod]' | |
git add .github/storage | |
git commit -m "Update translations storage" | |
git push |