Skip to content

Branching Strategy

BranchPurposeDeploys
mainStable releasesPublishes stable package to GitHub Packages
releaseRelease candidatesPublishes RC package with rc dist-tag
feat/*New features
fix/*Bug fixes
chore/*Maintenance, tooling, docs
feat/my-feature ──→ main ──→ publish stable
└──→ release ──→ publish RC
  1. Create a feature branch from main (e.g. feat/add-retry-logic)
  2. Make changes, commit, push
  3. Open a PR targeting main
  4. After review and merge, the publish.yml workflow publishes a stable release
  5. For release candidates, merge main into release to trigger rc.yml
  • Keep PRs focused on a single concern
  • Branch names should use the feat/, fix/, or chore/ prefix
  • Commit messages should be descriptive of the change