Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/.github/workflows/translation-check.yaml
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2024-05-10 15:56:28 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2024-05-10 15:56:28 +0200
commit683da22298abbd90f51d4dd38a7ec4b0dfb04555 (patch)
treeec2ac04967f9277df038edc362201937b331abe5 /.github/workflows/translation-check.yaml
parentaf7ab9833c9f9944874f0162ae0975175ddc628d (diff)
parent3381cd55673e5105697d354cf4a1be9a7bcef062 (diff)
merged with upstreamHEADmaster
Diffstat (limited to '.github/workflows/translation-check.yaml')
-rw-r--r--.github/workflows/translation-check.yaml28
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/translation-check.yaml b/.github/workflows/translation-check.yaml
new file mode 100644
index 00000000..3cd4d14c
--- /dev/null
+++ b/.github/workflows/translation-check.yaml
@@ -0,0 +1,28 @@
+#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)