Skip to content

ci(SDKE-1128): migrate Core Web SDK to trunk-based development#1214

Open
alexs-mparticle wants to merge 1 commit intomasterfrom
feat/SDKE-1047-trunk-based
Open

ci(SDKE-1128): migrate Core Web SDK to trunk-based development#1214
alexs-mparticle wants to merge 1 commit intomasterfrom
feat/SDKE-1047-trunk-based

Conversation

@alexs-mparticle
Copy link
Collaborator

Replace Gitflow branch model (development/master/staging-step-1/2/3) with trunk-based development using main as trunk and an auto-updated staging branch for E2E testing and releases.

  • Add release-step-1.yml: automatic staging pipeline on push to main
  • Add release-step-2.yml: manual release order push for CDN
  • Add release-step-3.yml: semantic-release from staging, publish to NPM/CDN
  • Remove staging-step-1/2/3.yml (replaced by new pipeline)
  • Update pull-request.yml to compare bundle size against main (not master)
  • Remove pr-branch-target-gitflow check from reusable-workflows.yml
  • Point dependabot and security checks at main
  • Point release.config.js branches at staging

NOTE: After merging, the following branches should be deleted:

  • development
  • master (replaced by main)
  • release-order-a/b/c (managed via release-step-2 workflow)

mPServer must be updated to reference main instead of master for the Core Web SDK GitHub repo (see linked Jira ticket).

Background

  • {Explain the context of the change, including the problem it addresses or relevant background information}

What Has Changed

  • {Describe the changes introduced by this PR}

Screenshots/Video

  • {Include any screenshots or video demonstrating the new feature or fix, if applicable}

Checklist

  • I have performed a self-review of my own code.
  • I have made corresponding changes to the documentation.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have tested this locally.

Additional Notes

  • {Any additional information or context relevant to this PR}

Reference Issue (For employees only. Ignore if you are an outside contributor)

Replace Gitflow branch model (development/master/staging-step-1/2/3)
with trunk-based development using main as trunk and an auto-updated
staging branch for E2E testing and releases.

- Add release-step-1.yml: automatic staging pipeline on push to main
- Add release-step-2.yml: manual release order push for CDN
- Add release-step-3.yml: semantic-release from staging, publish to NPM/CDN
- Remove staging-step-1/2/3.yml (replaced by new pipeline)
- Update pull-request.yml to compare bundle size against main (not master)
- Remove pr-branch-target-gitflow check from reusable-workflows.yml
- Point dependabot and security checks at main
- Point release.config.js branches at staging

NOTE: After merging, the following branches should be deleted:
- development
- master (replaced by main)
- release-order-a/b/c (managed via release-step-2 workflow)

mPServer must be updated to reference main instead of master for the
Core Web SDK GitHub repo (see linked Jira ticket).
@alexs-mparticle alexs-mparticle marked this pull request as ready for review March 13, 2026 20:58
@alexs-mparticle alexs-mparticle requested a review from a team as a code owner March 13, 2026 20:58
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
8 Security Hotspots

See analysis details on SonarQube Cloud

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