From 4a893b600de9d7df024dfca123fb44e0aa59dc0c Mon Sep 17 00:00:00 2001 From: Rishi Balakrishnan Date: Fri, 31 Jul 2026 17:42:50 -0400 Subject: [PATCH] fix(ci): pass OTA update message via env var to survive quotes Commit messages containing double quotes broke the eoas publish command because the raw message was interpolated directly into the shell run-block, closing the quote early and splitting the message into stray arguments. Passing it through an env var lets the shell quote it safely and also closes a shell-injection vector. --- .github/workflows/bundle-deploy-eas-update.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/bundle-deploy-eas-update.yml b/.github/workflows/bundle-deploy-eas-update.yml index 309857568..639ba948d 100644 --- a/.github/workflows/bundle-deploy-eas-update.yml +++ b/.github/workflows/bundle-deploy-eas-update.yml @@ -135,8 +135,9 @@ jobs: --platform=all --nonInteractive --dumpSourcemap - --message="${{ github.event.head_commit.message || github.sha }}" + --message="$OTA_MESSAGE" env: + OTA_MESSAGE: ${{ github.event.head_commit.message || github.sha }} EAS_NO_VCS: '1' EXPO_TOKEN: ${{ secrets.EXPO_TOKEN }} SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} -- knotmirror 0.0.1