fix: bad scripting in merge-translations (#21787)

This commit is contained in:
bo0tzz
2025-09-10 20:58:22 +02:00
committed by GitHub
parent 9af44fbd69
commit f7d9215464

View File

@@ -37,7 +37,10 @@ jobs:
echo "PR_NUMBER=$PR_NUMBER" >> $GITHUB_OUTPUT
echo "Selected PR $PR_NUMBER"
echo "$PR" | jq -e '.[0].mergeable == "MERGEABLE"' || { echo "PR is not mergeable" ; exit 1 }
if ! echo "$PR" | jq -e '.[0].mergeable == "MERGEABLE"'; then
echo "PR is not mergeable"
exit 1
fi
- name: Generate a token
id: generate_token