High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix: remove invalid read syntax (#21684)
bo0tzz417d3bbf5071
diff --git a/.github/workflows/merge-translations.yml b/.github/workflows/merge-translations.ymlindex c4167efa8a..1dafa50b75 100644--- a/.github/workflows/merge-translations.yml+++ b/.github/workflows/merge-translations.yml@@ -23,16 +23,16 @@ jobs:run: |set -euo pipefail- gh pr list --repo $GITHUB_REPOSITORY --author weblate --json number,mergeable | read PR+ PR=$(gh pr list --repo $GITHUB_REPOSITORY --author weblate --json number,mergeable)echo "$PR"- echo "$PR" | jq '+ PR_NUMBER=$(echo "$PR" | jq 'if length == 1 then.[0].numberelseerror("Expected exactly 1 entry, got \(length)")end- ' 2>&1 | read PR_NUMBER || exit 1+ ' 2>&1) || exit 1echo "PR_NUMBER=$PR_NUMBER" >> $GITHUB_OUTPUTecho "Selected PR $PR_NUMBER"@@ -64,8 +64,8 @@ jobs:GH_TOKEN: ${{ steps.generate_token.outputs.token }}PR_NUMBER: ${{ steps.find_pr.outputs.PR_NUMBER }}run: |- gh api -X POST "repos/$GITHUB_REPOSITORY/pulls/$PR_NUMBER/reviews" --field event='APPROVE' --field body='Automatically merging translations PR' \- | jq '.id' | read REVIEW_ID+ REVIEW_ID=$(gh api -X POST "repos/$GITHUB_REPOSITORY/pulls/$PR_NUMBER/reviews" --field event='APPROVE' --field body='Automatically merging translations PR' \+ | jq '.id')echo "REVIEW_ID=$REVIEW_ID" >> $GITHUB_OUTPUTgh pr merge "$PR_NUMBER" --repo "$GITHUB_REPOSITORY" --auto --squash