use parent tree for base_tree
This commit is contained in:
parent
02efff68da
commit
633a5a9752
2 changed files with 2 additions and 2 deletions
|
|
@ -286,7 +286,7 @@ export class GitHubHelper {
|
|||
core.info(`Creating tree for local commit ${commit.sha}`)
|
||||
const {data: tree} = await this.octokit.rest.git.createTree({
|
||||
...repository,
|
||||
base_tree: parentCommit.sha, // but this should probably be tree
|
||||
base_tree: parentCommit.tree,
|
||||
tree: treeObjects
|
||||
})
|
||||
treeSha = tree.sha
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue