diff --git a/index.js b/index.js index 17c1cf2..c55f075 100644 --- a/index.js +++ b/index.js @@ -56,7 +56,7 @@ async function run() { fs.writeFileSync(filePath, JSON.stringify(packageJson, null, 2)); - await commitChanges(filePath); + await commitChanges(core.getInput('filePath')); const payload = JSON.stringify(github.context.payload, undefined, 2)