-
Notifications
You must be signed in to change notification settings - Fork 13
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
Multiple pull request overlap - not able to rebase #65
Comments
Hey, I might be misunderstanding but if you merged PR 2 to master then you cannot merge PR 1 unless you update it with master. After you update PR 1 with master you'll now have PR 2 changes. This update (PR sync) triggers another build. Are any of the things I just said incorrect for your situation ? Do you have any repositories I could see that have the git workflow you just described ? |
Not really sure what you mean here. As long as the two branches do not have any merge conflicts, then you can merge them without first having to update either of the PRs with the contents of the other and this is a fairly standard workflow I believe.
|
Are you using the "Rebase and Merge" option ? |
Yes, that is what I mean by merge with rebase, but I can see that it isn't very clear in my post. |
hey @Maggie0002 just wanted to confirm I didn't consider the merge with rebase workflow so I'll have to see what events this triggers. In the meantime I'd suggest you rebase your PRs then merge in another step. |
As a quick update for others to reference, I enabled the Require branches to be up to date before merging protection rule to ensure that each pull request is always pushing the latest code and not reverting back to an old version stored in the pull request. It's not the solution in terms of the action, just logging it here as a useful protection mechanism for people to use in the meantime to avoid encountering the issue. |
What is the behaviour when there are multiple pull requests merged and rebased? It seems the current behaviour is to not record other commits in the finalised version. For example:
If the branch merged to is not the same as the one previous committed, it should probably to a rebuild rather than mark as final?
The text was updated successfully, but these errors were encountered: