chore: validate env expo cp-7.63.0#25415
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
| value="${!var}" | ||
| if [ -n "$value" ]; then | ||
| echo "${var}=${value}" >> .env | ||
| echo "${var}=${value}" >> "$GITHUB_ENV" |
There was a problem hiding this comment.
Environment values lack escaping for special characters
Low Severity
The new .env creation writes values without escaping or quoting: echo "${var}=${value}". The removed createEnvFile() function properly escaped backslashes, double quotes, and dollar signs, then wrapped values in quotes. If any secret values contain special characters (like $, ", \, or spaces), they could cause parsing issues when Expo reads the .env file or trigger unintended shell expansion.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #25415 +/- ##
==========================================
- Coverage 80.55% 80.27% -0.29%
==========================================
Files 4257 4263 +6
Lines 109159 109959 +800
Branches 23213 23417 +204
==========================================
+ Hits 87937 88267 +330
- Misses 15089 15506 +417
- Partials 6133 6186 +53 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
These changes:
The validation for these changes would be running the actual EAS update workflow, not E2E tests. No E2E test tags are needed. Performance Test Selection: |
|





Description
Changelog
CHANGELOG entry: null
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Medium Risk
Changes the OTA update GitHub Actions workflow and
scripts/build.shpublish path, including new platform selection and altered.envgeneration; mistakes could break release/update automation or omit required env values.Overview
Adds a
platforminput to thepush-eas-updateworkflow and passes it through asOTA_PUSH_PLATFORM, allowing OTA updates to targetios,android, orall.Updates
scripts/build.sh’sexpo-updateflow to generate.env(and mirror vars intoGITHUB_ENV) from a fixed allowlist, then publish EAS updates sequentially per platform with explicit per-platform failure reporting/propagation. Also removes the workflow’sEXPO_NO_LAVAMOAToverride and hardens Sentry auth token injection by switchingsedto a safer delimiter.Written by Cursor Bugbot for commit faa3f6b. This will update automatically on new commits. Configure here.