Remove file from bulk upload black list only when upload succeeded. #1353
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: | |
pull_request: | |
branches: [ master, stable-* ] | |
# Declare default permissions as read only. | |
permissions: read-all | |
jobs: | |
checkTranslations: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3 | |
- name: Check German | |
run: | | |
[[ $(grep "Benötigt keine Übersetzung" translations/client_de.ts -c) -gt 0 ]] && exit 1 || exit 0 |