feat(skills): auto-load staging acceptance gate #136
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: Verify i18n Translations | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - 'README.md' | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| update-translations: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - name: Generate i18n files | |
| run: python3 scripts/generate_i18n.py | |
| - name: Verify generated translations are current | |
| run: | | |
| if ! git diff --exit-code -- docs/i18n/; then | |
| echo "::error::Generated translations are stale. Run 'python3 scripts/generate_i18n.py' and commit docs/i18n/." | |
| exit 1 | |
| fi |