From 214722a6fb6f943dc21fa69e8a2924e64e77d255 Mon Sep 17 00:00:00 2001 From: jpaul Date: Mon, 13 Nov 2023 07:20:11 +0100 Subject: [PATCH] remove commit sha to tree-creation --- dist/cleanup/index.js | 1 - dist/main/index.js | 1 - src/utils.ts | 1 - 3 files changed, 3 deletions(-) diff --git a/dist/cleanup/index.js b/dist/cleanup/index.js index 1d4f8e6..77bcc86 100644 --- a/dist/cleanup/index.js +++ b/dist/cleanup/index.js @@ -74662,7 +74662,6 @@ function createTree(metadataJson) { mode: "100644", type: "blob", content: metadataJson, - sha: getCommitSha() }, ] })); core.error("Tree-sha" + response.data.sha); diff --git a/dist/main/index.js b/dist/main/index.js index 727f324..a9996c1 100644 --- a/dist/main/index.js +++ b/dist/main/index.js @@ -75659,7 +75659,6 @@ function createTree(metadataJson) { mode: "100644", type: "blob", content: metadataJson, - sha: getCommitSha() }, ] })); core.error("Tree-sha" + response.data.sha); diff --git a/src/utils.ts b/src/utils.ts index ee80181..609e259 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -249,7 +249,6 @@ export async function createTree(metadataJson: string): Promise { mode: "100644", type: "blob", content: metadataJson, - sha: getCommitSha() }, ], }