Repository navigation
Localized file check-in by OneLocBuild Task: Build definition ID 1218: Build ID 3132796 #175
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: Check localization catalogs | |
| on: | |
| pull_request: | |
| paths: | |
| - '**.resx' | |
| - '**.xlf' | |
| - '.github/scripts/check_localization.py' | |
| - '.github/scripts/test_check_localization.py' | |
| - '.github/skills/testfx-localization-validation/**' | |
| - '.github/workflows/check-localization.yml' | |
| push: | |
| branches: | |
| - main | |
| - 'rel/*' | |
| paths: | |
| - '**.resx' | |
| - '**.xlf' | |
| - '.github/scripts/check_localization.py' | |
| - '.github/scripts/test_check_localization.py' | |
| - '.github/skills/testfx-localization-validation/**' | |
| - '.github/workflows/check-localization.yml' | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: check-localization-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| check: | |
| name: Check localization catalogs | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| env: | |
| PYTHONDONTWRITEBYTECODE: '1' | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 | |
| with: | |
| python-version: '3.12' | |
| - name: Test localization guard | |
| run: python .github/scripts/test_check_localization.py | |
| - name: Validate localization catalogs | |
| run: python .github/scripts/check_localization.py |