mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-25 06:25:56 +03:00
bb09bc67fc
not convinced it is needed to run the checks after a merge to master branch in addition to running them before merging a PR Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
18 lines
464 B
YAML
18 lines
464 B
YAML
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@755da8c3cf115ac066823e79a1e1788f8940201b # v3
|
|
- name: Check German
|
|
run: |
|
|
[[ $(grep "Benötigt keine Übersetzung" translations/client_de.ts -c) -gt 0 ]] && exit 1 || exit 0
|