Skip to content

Update Translation Status #14

Update Translation Status

Update Translation Status #14

name: Update Translation Status
on:
schedule:
- cron: '0 3 * * *'
workflow_dispatch: {}
permissions:
contents: write
jobs:
update-status:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: pip install polib
- run: python3 scripts/generate_status_table.py
- name: Commit if changed
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add STATUS.md
git diff --staged --quiet || git commit -m "Update translation status table"
git push