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

This commit is contained in:
bo0tzz authored and GitHub committed 2025-09-10 18:58:22 +00:00
1 parent 9af44fbd69
commit f7d9215464
1 file changed
+4 -1
+4 -1
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