-
Notifications
You must be signed in to change notification settings - Fork 28
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
Add default_mainline
input
#372
Conversation
Enable early release of backport-action to test korthout/backport-action#372
@korthout : Thanks for this quick work! I gave this a test by enabling this early release here https://github.com/DSpace/dspace-angular/pull/2424/files I then tried merging a PR with a merge commit: https://github.com/DSpace/dspace-angular/pull/2408/commits But, unfortunately, it still failed to be ported to the other branch: DSpace/dspace-angular#2408 (comment) In the logs of the Action, I see the
It appears (to me) that the main issue on our end is that In this scenario, the PR in question was for our
When I attempted both cherry picks manually using Unfortunately, this isn't the behavior we need on our end. We need a way to essentially That said, this solution might still work for others who require |
…t-action Revert "Enable early release of backport-action to test korthout/backport-action#372"
Thanks @tdonohue for that comprehensive feedback. It gives invaluable insights and I greatly appreciate it.
I guess this holds for all use cases where a merge commit updates the pull request from the base. I see no reason why any user might want to take some of the merged changes from the base along in the backport. I'll close this pull request so I don't have to support an unused feature indefinitely. If any user wants this behavior, please reach out and let me know. I'm happy to support it if there is a need for it.
Yup, this is likely more useful to most. Initially, I wrote that this might be a fit for |
Adds a new
default_mainline
input, which can be used to support cherry-picking merge commits.Note that the only usable values at this time are:
default_mainline: ''
(disabled)default_mainline: 1
(use parent 1 as mainline)This does not yet provide support for skipping merge commits, nor for using parent numbers 2+ as the default mainline.
closes #341