Skip to content

fix(ci): repair mobile build/promote workflows#2301

Open
Gilbert09 wants to merge 3 commits into
mainfrom
fix/mobile-promote-permissions
Open

fix(ci): repair mobile build/promote workflows#2301
Gilbert09 wants to merge 3 commits into
mainfrom
fix/mobile-promote-permissions

Conversation

@Gilbert09
Copy link
Copy Markdown
Member

Summary

The Mobile Build workflow failed to even parse, and the promote/submit path had several misconfigurations. This PR fixes the chain end-to-end:

  • Workflow validation — the promote job in mobile-build.yml set permissions: {} (contents: none), but the reusable mobile-promote.yml submit job requests contents: read. GitHub rejects a caller granting less than the callee needs, producing an "Invalid workflow file" error. Bumped the job to contents: read.
  • Bad action SHAexpo/expo-github-action was pinned to a SHA that doesn't exist in the repo (Unable to resolve action ... unable to find version). Repinned to the real v8 commit in both mobile-build.yml and mobile-promote.yml.
  • iOS submiteas submit --non-interactive failed with "Set ascAppId in the submit profile". Added ascAppId to submit.production.ios in eas.json.

(Android Play Store submission credentials were sorted separately on EAS.)

Testing

Dispatched mobile-build.yml (profile=production, wait=true) against this branch:

  • ✅ Workflow now parses and starts (previously rejected outright)
  • Setup EAS resolves the action on both iOS and Android
  • A full production build + promote run is in flight to validate the submit path end-to-end.

🤖 Generated with Claude Code

Gilbert09 and others added 3 commits May 22, 2026 16:26
The promote job set permissions:{} (contents:none) but the called
mobile-promote.yml submit job requests contents:read, which GitHub
rejects as an invalid workflow file.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The previous SHA did not exist in expo/expo-github-action, breaking
both mobile-build and mobile-promote. Pin to the real v8 commit.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
eas submit --non-interactive cannot resolve the App Store Connect app
without ascAppId. Pin it so iOS promotion works in CI.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@Gilbert09 Gilbert09 requested a review from dmarticus May 22, 2026 16:04
@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented May 22, 2026

Reviews (1): Last reviewed commit: "fix(mobile): set ascAppId for iOS submit..." | Re-trigger Greptile

@Gilbert09 Gilbert09 added the Stamphog This will request an autostamp by stamphog on small changes label May 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Stamphog This will request an autostamp by stamphog on small changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant