mirror of
https://github.com/samsonjs/immich.git
synced 2026-03-25 09:15:56 +00:00
fix: bad scripting in merge-translations (#21787)
This commit is contained in:
parent
9af44fbd69
commit
f7d9215464
1 changed files with 4 additions and 1 deletions
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…
Reference in a new issue