Automated backmerge master → develop on release publishing
#64
Locked
AndrewSazonov
announced in
ADRs
Replies: 0 comments
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.
-
Across EasyScience repositories, we follow a
feature→develop→masterbranching workflow (see ADR #12 for a detailed overview).After a release is published, the
masterbranch may contain changes that must also be applied back todevelop(for example, version bumps, hotfixes, or release-related adjustments). This ensures that any newfeaturebranches are created from an up-to-datedevelop.This “backmerge” step from
mastertodevelopis easy to forget and often requires additional manual work. If skipped,developcan fall behindmaster, which may lead to confusion, duplicated fixes, or inconsistencies in subsequent development.To make this process consistent and reliable, we have an automated backmerge workflow to the EasyScience Copier templates:
https://github.com/easyscience/templates/blob/master/template/.github/workflows/backmerge.yml
This workflow automatically merges
masterintodevelopwhenever a new release is published.Trigger
The workflow is triggered:
releaseevents of typepublishedorprereleasedworkflow_dispatch(manual trigger)This ensures that the standard release process automatically includes a backmerge step, while still allowing manual execution if needed.
Key Behavior
origin/masterintodevelop(no pull request is created)[skip ci]to the merge commit message to avoid unnecessary CI runsdevelopis already up-to-date withmasterBackmerge conflict: master → developis created (or reopened if it already exists)Links to the related discussions: #44
Beta Was this translation helpful? Give feedback.
All reactions