-
-
Notifications
You must be signed in to change notification settings - Fork 396
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
Why exisiting commits are removed? #1828
Comments
I think whats happening is that we are reseting our temporary branch by running We probably want to delete the second check out that is overwriting the base
|
Actually I think the problem might be:
this line should probably:
as the temp branch is created from the workingBase there will never be a difference. What we want is the base branch plus any changes that happened in the temp branch/workingBase |
@taliesins wow! What a quick reaction. Thanks |
Hi @pawellabaj The problem is that you are using an existing branch for the For your use case, you can either follow this example, or simply use the gh command line tool to create the PR. |
Thanks @peter-evans for calrification |
Exisiting commits in branch are removed
I have a branch 'release/v1.2.3' with commits created by maven release:prepare:
I have workflow with following step:
After that, existing commits are removed and not merged into
main
branch, when the PR is mergedHow to keep existing commits in the branch?
If this issue is describing a possible bug please provide (or link to) your GitHub Actions workflow.
My workflow: https://github.com/pawellabaj/auto-record/blob/main/.github/workflows/release-published.yml
The text was updated successfully, but these errors were encountered: