Skip to content

feat: add platform-specific base branch overrides#133

Merged
piotr-iohk merged 1 commit intomainfrom
feat/platform-base-branch-overrides
Mar 17, 2026
Merged

feat: add platform-specific base branch overrides#133
piotr-iohk merged 1 commit intomainfrom
feat/platform-base-branch-overrides

Conversation

@piotr-iohk
Copy link
Copy Markdown
Collaborator

Summary

  • Adds platform-aware fallback logic to determine-e2e-branch.yml so iOS and Android can resolve different base branches when no matching feature branch exists
  • Uses github.repository (inherited from the caller) to detect the platform — no changes needed in bitkit-ios or bitkit-android workflows
  • Currently sets iOS base to feat/home-redesign while Android stays on main, until feat/home-redesign is merged on Android

How it works

A BASE_OVERRIDES map at the top of the script controls the fallback per platform:

declare -A BASE_OVERRIDES=(
  ["ios"]="feat/home-redesign"
  ["android"]="main"
)

Set both back to main once platforms are aligned again.

Test plan

  • Verify iOS E2E runs pick up feat/home-redesign as fallback (trigger a PR build on bitkit-ios)
  • Verify Android E2E runs still fall back to main (trigger a PR build on bitkit-android)
  • Verify explicit e2e_branch_input=main still forces main on both platforms

Made with Cursor

Allow iOS and Android to resolve different fallback branches
when no matching feature branch exists in bitkit-e2e-tests.
Currently sets iOS base to feat/home-redesign while Android
stays on main, until both platforms are aligned.

Made-with: Cursor
@piotr-iohk piotr-iohk merged commit 7a7472e into main Mar 17, 2026
@piotr-iohk piotr-iohk deleted the feat/platform-base-branch-overrides branch March 17, 2026 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant