mirror of
https://github.com/WiVRn/WiVRn.git
synced 2026-11-24 02:51:39 -08:00
23 lines
637 B
YAML
23 lines
637 B
YAML
name: Locales
|
|
on: [push, pull_request]
|
|
jobs:
|
|
locale-check:
|
|
name: Locale check
|
|
runs-on: ubuntu-24.04
|
|
if: ${{ vars.APK_ONLY == '' }}
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
sudo apt-get update && sudo apt-get install gettext
|
|
pip install polib PyGithub
|
|
|
|
- name: Check that .po files are up to date
|
|
run: |
|
|
if [[ "${{github.ref}}" == 'refs/heads/master' ]] ; then
|
|
tools/check_po.py --manage-issues --github-repository "${{ github.repository }}" --github-token "${{ github.token }}"
|
|
else
|
|
tools/check_po.py
|
|
fi
|