My workflow is as follows
- Checkout workflow branch (usually main, but sometimes some working branch)
- Make local changes (uncommitted) to working branch
- Run
peter-evans/create-pull-request@v6 with local changes
- Do additional stuff with local changes
However I noticed that when create-pull-request runs, it resets the working base branch:
Resetting working base branch 'xxx'
/usr/bin/git checkout --progress xxx --
Switched to branch 'xxx'
Your branch is up to date with 'origin/xxx'.
/usr/bin/git reset --hard origin/xxx
HEAD is now at xxxxxxxx commit
Is there a way to disable or workaround this?
My workflow is as follows
peter-evans/create-pull-request@v6with local changesHowever I noticed that when
create-pull-requestruns, it resets the working base branch:Is there a way to disable or workaround this?