Merge pull request #2672 from meerk40t/hatches #19
This file contains 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 Translations | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
check_translations: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.x | |
- name: Run translation check script | |
run: | | |
cp .github/workflows/translate-error-check.py translate-error-check.py | |
python translate-error-check.py | |
- name: Check for script exit code | |
run: | | |
if [ $? -ne 0 ]; then | |
echo "Error: Flawed translations found." | |
exit 1 | |
fi |