From 12a487f9c57f052190bfc7f25e7337930f03baed Mon Sep 17 00:00:00 2001 From: Shakar <5h4k4r.b4kr@gmail.com> Date: Mon, 18 Sep 2023 15:21:13 +0300 Subject: [PATCH] send filePath to `commitChanges` function Signed-off-by: Shakar <5h4k4r.b4kr@gmail.com> --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 639d9f5..6f7c398 100644 --- a/index.js +++ b/index.js @@ -56,7 +56,7 @@ async function run() { fs.writeFileSync(filePath, JSON.stringify(packageJson, null, 2)); - await commitChanges(); + await commitChanges(filePath); const payload = JSON.stringify(github.context.payload, undefined, 2)