name: Check Translations run-name: Check spelling in translation files on: push: branches: [main] paths: - 'portprotonqt/locales/**' pull_request: paths: - 'portprotonqt/locales/**' workflow_dispatch: jobs: check-translations: runs-on: ubuntu-latest steps: - name: Checkout uses: https://gitea.com/actions/checkout@v4 - name: Set up Python uses: https://gitea.com/actions/setup-python@v5 with: python-version-file: "pyproject.toml" - name: Install Python dependencies run: pip install pyaspeller babel - name: Run spell check run: python dev-scripts/l10n.py --spellcheck