push branch instead of head
This commit is contained in:
parent
fa545b74a7
commit
9dd92835ab
2 changed files with 2 additions and 2 deletions
|
@ -195,7 +195,7 @@ export async function createPullRequest(inputs: Inputs): Promise<void> {
|
|||
await git.push([
|
||||
'--force-with-lease',
|
||||
branchRemoteName,
|
||||
`HEAD:refs/heads/${inputs.branch}`
|
||||
`${inputs.branch}:refs/heads/${inputs.branch}`
|
||||
])
|
||||
core.endGroup()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue