Skip to content

ci(release): sync main back into develop/staging after stable releases - #4

Merged
JSisques merged 1 commit into
developfrom
ci/sync-develop-staging-after-release
Aug 31, 2026
Merged

ci(release): sync main back into develop/staging after stable releases#4
JSisques merged 1 commit into
developfrom
ci/sync-develop-staging-after-release

Conversation

@JSisques

Copy link
Copy Markdown
Contributor

Summary

  • Same issue as nestjs-kit (ci(release): sync main back into develop/staging after stable releases nestjs-kit#138): semantic-release runs independently on develop/staging/main via node-release.yml, each committing its own version bump (package.json/CHANGELOG.md) directly to that branch with no relation to the others, so promoting develop → staging (or staging → main) kept conflicting on those same files.
  • node-release.yml now supports merging main back into develop/staging right after a stable release actually publishes (sisques-labs/workflows#66, merged).
  • Opts this repo in via sync_develop_after_stable: true and sync_staging_after_stable: true.

Test plan

  • Next stable release on main produces a chore(release): sync stable from main merge commit on develop and staging
  • Next develop → staging promotion PR after that has no conflicts on package.json/CHANGELOG.md

semantic-release runs independently per branch here, each committing its
own version bump (package.json/CHANGELOG.md) with no relation to the
others, so develop/staging permanently diverged from main and every
later promotion PR conflicted on those files. node-release.yml now
supports merging main back down after a stable release
(sisques-labs/workflows#66); opt in via sync_develop_after_stable and
sync_staging_after_stable.
@github-actions github-actions Bot added the ci CI/CD workflow changes label Aug 31, 2026
@JSisques
JSisques merged commit 40ed63b into develop Aug 31, 2026
6 checks passed
@JSisques
JSisques deleted the ci/sync-develop-staging-after-release branch August 31, 2026 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci CI/CD workflow changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant