check-translations.yml 458 B

123456789101112131415161718
  1. name: "Check translations"
  2. on:
  3. pull_request:
  4. branches: [ master, stable-* ]
  5. # Declare default permissions as read only.
  6. permissions: read-all
  7. jobs:
  8. checkTranslations:
  9. runs-on: ubuntu-latest
  10. steps:
  11. - uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3
  12. - name: Check German
  13. run: |
  14. [[ $(grep "Benötigt keine Übersetzung" translations/client_de.ts -c) -gt 0 ]] && exit 1 || exit 0