-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merging release into master and dev #27
Comments
tl;dr: I'm not sure if I understood the reason why you need this. Anyway, I don't think its possible right now. Maybe in a future version, but the design is still uncertain. First of all, why do you need this? Can you clarify this merge conflict situation? Perhaps with an example? Please note that merge conflicts will block the PR and will not auto-merge, even with the config Anyway, one possibility would be to have multiple targets. This would require the release: release # default
master-target: [master, dev]
master-source: master # default for the current `master` config
dev: dev # default It's worth noting that some other changes regarding this configuration was also requested. See #18, #9 and #6. Perhaps a solution could be formulated to fix all those four requests. steps:
- uses: Logerfo/[email protected] # from master to dev
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
release: null
- uses: Logerfo/[email protected] # from release to master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
dev: null
- uses: Logerfo/[email protected] # from release to dev
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
master: dev
dev: null I think the same behavior might be achievable with only two steps, but couldn't think of a solution right now. |
Let me see if I can rephrase. Why: Dev is being work on and changes are being made, maybe some hotfix or something is going with master. Whatever the reason, trying to merge master into dev fails because there is a merge conflict. To resolve this merge conflict, you need to pull dev into master which now create a dirty copy of master and no longer reflects what is actually in release. tl;dr: Have release/* create a PR for dev to handle merge conflicts instead of having master pull in dev changes. |
But what would you do when a bugfix gets merged into master? A PR merging from master to dev is also opened and the merge conflict will also exist. How do you currently solve this case? |
Is there a way to merge the changes from release to master and dev vs release -> master -> dev. The issue being if there is a merge conflict, we don't want to update with dev code that isn't ready to be in master.
The text was updated successfully, but these errors were encountered: