ADR Suggestion Automated backmerge from master to develop on release tags
#44
AndrewSazonov
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
|
What happens when the merge fails? The workflow uses
We NEED a conflict handling strategy. We also assume nobody pushes to Another thing is - should this be triggered on tag push? At this time, the release workflow may still be running. If this workflow makes additional changes to master (changelog, version bump, whatever), those won't be backmerged. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The overall branching strategy is described in a separate ADR:
https://github.com/orgs/easyscience/discussions/12
Across EasyScience repositories, we follow a
feature→develop→masterworkflow. After a release,mastermay contain changes that also need to be applied back todevelop(for example, quick fixes or version bumps), so that any newfeaturebranches are created from an up-to-datedevelop.This “backmerge” step from master to develop is easy to forget and often involves extra manual work. As a result,
developcan fall behindmaster, which may lead to confusion and inconsistencies in subsequent development.Proposal
Add a standard workflow to the EasyScience Copier templates that automatically merges
masterintodevelopwhenever a new release tag (v*) is pushed.Key behavior:
pushof tags matchingv*(and optionally viaworkflow_dispatch)origin/masterintodevelop(no PR)[skip ci]to the merge commit message to avoid re-running CI unnecessarilydevelopis already up-to-date withmasterProposed workflow (to be included in templates)
Beta Was this translation helpful? Give feedback.
All reactions