Skip to content

Commit c592a9e

Browse files
committed
Fix OTA message shell injection and pin fingerprint version policy in production EAS workflow
1 parent ab86724 commit c592a9e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/mobile-eas-production.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
env:
4040
APP_VARIANT: production
4141
NODE_OPTIONS: --max-old-space-size=8192
42+
MOBILE_VERSION_POLICY: fingerprint
4243
steps:
4344
- id: expo-token
4445
name: Check for EXPO_TOKEN
@@ -101,10 +102,11 @@ jobs:
101102
working-directory: apps/mobile
102103
env:
103104
EXPO_TOKEN: ${{ secrets.EXPO_TOKEN }}
105+
OTA_MESSAGE: ${{ inputs.message || format('Production OTA ({0})', github.sha) }}
104106
run: |
105107
eas update \
106108
--channel production \
107109
--environment production \
108110
--platform ${{ inputs.platform }} \
109-
--message "${{ inputs.message || format('Production OTA ({0})', github.sha) }}" \
111+
--message "$OTA_MESSAGE" \
110112
--non-interactive

0 commit comments

Comments
 (0)