Git workflow & releases
Branches (typical)
| Branch pattern | Deploy target | Trigger (summary) |
|---|---|---|
develop |
Dev | Push with src/ changes → Lambda via Terraform |
release-v* |
Stage | Push with src/ changes → stage Lambda |
| GitHub Release (tag from release branch) | Prod | Published/edited release → prod Lambda + static |
Exact workflow files: .github/workflows/*.yaml.
Static-only changes
- Changes under
static/sync to S3 viadevelop-static,staging-static, and (for prod) the production workflow — no Lambda redeploy needed when only assets change.
Version branches
release-vNNNbranches track staged API versions; coordinate with release managers before cutting.
Hotfixes
- Follow team hotfix process — often branch from prod tag or release branch, then merge back to
developto avoid drift.
Local branches
- Feature branches merge to
developvia PR; keep commits focused and lint-clean for faster review.