Support non-force branch update strategy for protected automation branches #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
The action always force-pushes the head branch when updating an existing PR. Some repos protect automation branches or require linear history without force updates.
Verified
MIGRATION.mdsays the branch update strategy is force-push and has no separate strategy input.src/main.jsupdate path works on the target branch and pushes, with no update-strategy option visible.Build
branch-update-strategysuch asforce,rebase, orfail-if-diverged.