force push

This commit is contained in:
Peter Evans 2024-08-08 17:16:40 +00:00
parent 8605c43792
commit 63aac9338f
2 changed files with 3 additions and 2 deletions

View file

@ -278,7 +278,8 @@ export class GitHubHelper {
await this.octokit.rest.git.updateRef({
...repository,
sha: newHead,
ref: `heads/${branch}`
ref: `heads/${branch}`,
force: true
})
} else {
core.info(`Branch ${branch} does not exist; Creating ref`)