diff --git a/index.js b/index.js index 2f5bee2..3dfc608 100644 --- a/index.js +++ b/index.js @@ -58,7 +58,7 @@ const addConfig = ({ app_name, env_file, appdir }) => { const createProcfile = ({ procfile, appdir }) => { if (procfile) { fs.writeFileSync(path.join(appdir, "Procfile"), procfile); - execSync(`git add -A && git commit -m "Added Procfile"`); + execSync(`git add -A && git commit --no-verify -m "Added Procfile"`); console.log("Written Procfile with custom configuration"); } }; @@ -190,7 +190,7 @@ if (heroku.dockerBuildArgs) { const status = execSync("git status --porcelain").toString().trim(); if (status) { execSync( - 'git add -A && git commit -m "Commited changes from previous actions"' + 'git add -A && git commit --no-verify -m "Commited changes from previous actions"' ); }