-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
chore: validate env expo cp-7.63.0 #25415
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
|
sethkfman
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM





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.