[stable-3.14] properly detect need to sign terms of service state #3419
Workflow file for this run
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: | |
types: [opened, synchronize, reopened] | |
# Declare default permissions as read only. | |
permissions: read-all | |
jobs: | |
checkTranslations: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3 | |
- name: Check German | |
run: | | |
[[ $(grep "Benötigt keine Übersetzung" translations/client_de.ts -c) -gt 0 ]] && exit 1 || exit 0 |