Update pre-commit hook astral-sh/ruff-pre-commit to v0.6.3 (#2661) #821
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
#on: | |
# push: | |
# paths: | |
# - 'archinstall/locales/**' | |
# pull_request: | |
# paths: | |
# - 'archinstall/locales/**' | |
#name: Verify local_generate script was run on translation changes | |
#jobs: | |
# translation-check: | |
# runs-on: ubuntu-latest | |
# container: | |
# image: archlinux/archlinux:latest | |
# steps: | |
# - uses: actions/checkout@v4 | |
# - run: pacman --noconfirm -Syu python git diffutils | |
# - name: Verify all translation scripts are up to date | |
# run: | | |
# cd .. | |
# cp -r archinstall archinstall_orig | |
# cd archinstall/archinstall/locales | |
# bash locales_generator.sh 1> /dev/null | |
# cd ../../.. | |
# git diff \ | |
# --quiet --no-index --name-only \ | |
# archinstall_orig/archinstall/locales \ | |
# archinstall/archinstall/locales \ | |
# || (echo "Translation files have not been updated after translation, please run ./locales_generator.sh once more and commit" && exit 1) |