From ffc1baafb3af8db26d912b90d93c563371861dc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20N=C3=BCsse?= Date: Sun, 28 Apr 2024 09:30:49 +0200 Subject: [PATCH] test --- .github/workflows/translations.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/translations.yml b/.github/workflows/translations.yml index 85bb07df..610381d3 100644 --- a/.github/workflows/translations.yml +++ b/.github/workflows/translations.yml @@ -46,6 +46,10 @@ jobs: pip3 install alt-profanity-check chmod +x ./scripts/checkProfanity.py chmod +x ./scripts/generateFilelist.sh + array=(${{needs.string-change-verification.outputs.files}}) + if [ "${array[@]}" -ne 1 ]; then + echo "Only pass the amount of commits and one translation file! You passed: ${array[@]}" + fi TRANSLATIONS=$(./scripts/generateFilelist.sh ${{ github.event.pull_request.commits }} ${{needs.string-change-verification.outputs.files}}) echo "TRANSLATIONS=$TRANSLATIONS" >> $GITHUB_OUTPUT shell: sh