mirror of
https://github.com/immich-app/immich.git
synced 2025-11-27 00:35:16 -05:00
fix: bad scripting in merge-translations (#21787)
This commit is contained in:
parent
9af44fbd69
commit
f7d9215464
5
.github/workflows/merge-translations.yml
vendored
5
.github/workflows/merge-translations.yml
vendored
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user