Add workflow to automatically merge changes in stable into stardisk branch #19
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add workflow to automatically merge changes in stable into stardisk branch
Requirements
stardisk
branchstardisk
Proof of concept
The testing repo https://github.com/scaedufax/nbody-stardisk-test contains both the automerge feature and the stardisk verison.
https://github.com/scaedufax/nbody-stardisk-test/actions/runs/6083454269
The auto merge fails: https://github.com/scaedufax/nbody-stardisk-test/actions/runs/6083473480
Solving conflicts by hand
I think this will only rarely happen here, but might be needed once in a while.
The git book is really detailed and discusses the matter of merge conflicts very nicely. Especially the chapters Git Branching - Basic Branching and Merging and Git Tools - Advanced Merging should be of interest.
However a quick outline shall also be given here, as well as in the comments of the workflow for future reference!