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)