Przeglądaj źródła

added pipeline for reference key check

CPK 1 miesiąc temu
rodzic
commit
c1ff258d81
1 zmienionych plików z 22 dodań i 0 usunięć
  1. 22 0
      .github/workflows/localization-key-reference.yml

+ 22 - 0
.github/workflows/localization-key-reference.yml

@@ -0,0 +1,22 @@
+name: Localization Reference Key Check
+
+on:
+  push:
+    branches: [ "master" ]
+  pull_request:
+    branches: [ "master" ]
+
+jobs:
+  check-key-references:
+    name: "Check Localization Keys are referenced"
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v4
+      - uses: actions/setup-python@v5
+        with:
+          python-version: '3.13'
+          cache: 'pip'
+      - name: Install dependencies
+        run: pip install .github/workflows/localization/check-key-references.pip.txt
+      - name: Check Localization Key References
+        run: python .github/workflows/localization/check-key-references.py