ci(e2e): allow iOS and Android E2E jobs to run on manual dispatch - #13788
ci(e2e): allow iOS and Android E2E jobs to run on manual dispatch#13788MounirDhahri wants to merge 2 commits into
Conversation
The job gated on github.event.workflow_run.conclusion == 'success', which is false for workflow_dispatch events (no workflow_run object), so 'Run workflow' started the run but skipped the e2e-tests job. Run the job for non-workflow_run events while keeping the success gate when chained from the build workflow. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Same fix as iOS: the job gated on workflow_run.conclusion == 'success' skipped for workflow_dispatch events. Run for non-workflow_run events while keeping the success gate when chained from the build workflow. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> Assisted-by: Claude:Opus-4.8 [claude-code]
Code ReviewSummaryThis PR fixes the iOS and Android Maestro Issues FoundNone blocking. The fix is minimal, correct, and preserves the original behavior. The expression logic is sound:
The change is identical and consistent across both 🟢 Suggestion (minor, non-blocking): The added comment says "Run for manual/scheduled triggers...", but these e2e workflows only declare Areas Reviewed
Notes
Nice clean fix. ✅ |
This PR resolves []
Description
Both the iOS and Android
E2E Tests (Maestro)workflows already declareworkflow_dispatch, but thee2e-testsjob was gated on:For a
workflow_dispatch(orschedule) event there is noworkflow_runobject, so this evaluates tofalseand the job is skipped — clicking "Run workflow" starts a run that does nothing.This relaxes the guard to run the job for non-
workflow_runevents, while preserving the original behavior when chained from the build workflow (still only runs on a successful build):After this, either suite can be triggered manually via Actions → (iOS/Android) E2E Tests (Maestro) → Run workflow, or
gh workflow run ios-e2e-maestro.yml --ref <branch>/gh workflow run android-e2e-maestro.yml --ref <branch>.PR Checklist
To the reviewers 👀
Changelog updates
Changelog updates
Dev changes
Need help with something? Have a look at our docs, or get in touch with us.
Assisted-by: Claude:Opus-4.8