Repository navigation
[docs] Update managed apps reference for v1.6.5 #323
Workflow file for this run
This file contains hidden or 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: i18n lint | |
| on: | |
| pull_request: | |
| paths: | |
| - 'i18n/**' | |
| - 'content/**' | |
| - 'hack/check-i18n.sh' | |
| - 'hack/i18n/**' | |
| - '.github/workflows/i18n-lint.yml' | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - 'i18n/**' | |
| - 'content/**' | |
| - 'hack/check-i18n.sh' | |
| - 'hack/i18n/**' | |
| - '.github/workflows/i18n-lint.yml' | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| defaults: | |
| run: | |
| shell: bash | |
| jobs: | |
| i18n-lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.x' | |
| - name: Install pyyaml | |
| # check-i18n.sh reads `l10n` through lib.l10n_mode, and the unit tests | |
| # need it too. The Claude SDK is imported lazily at runtime, not here. | |
| run: python3 -m pip install --quiet pyyaml | |
| - name: Check i18n key parity and translation freshness | |
| run: ./hack/check-i18n.sh | |
| - name: Run i18n pipeline unit tests | |
| # Guards the pure functions of the translation pipeline — including the | |
| # ref/relref deref that keeps a partially-translated page from breaking | |
| # the Hugo build. | |
| run: python3 hack/i18n/test_i18n.py | |
| - name: Typography lint on published translations | |
| # Advisory: reports per-language typography drift (hand edits, pages | |
| # translated before a rule existed) without failing the build. Flip to | |
| # --strict per language once its backlog is clean. | |
| run: python3 hack/i18n/lint_translations.py |