diff --git a/dist/index.js b/dist/index.js index 63c4151..9b9c84c 100644 --- a/dist/index.js +++ b/dist/index.js @@ -6257,16 +6257,10 @@ const buildReadme = (prevReadmeContent, newReadmeContent) => { const commitReadme = async () => { // Getting config - const committerUsername = "DoyDevLabs"; - const committerEmail = "doydevlabs@gmail.com"; - const commitMessage = "Todoist updated."; - // Doing commit and push - await exec("git", ["config", "--global", "user.email", committerEmail]); - await exec("git", ["config", "--global", "user.name", committerUsername]); await exec("git", ["add", README_FILE_PATH]); await exec("git", ["commit", "-m", commitMessage]); // await exec('git', ['fetch']); - await exec("git", ["push"]); + // await exec("git", ["push"]); core.info("Readme updated successfully."); // Making job fail if one of the source fails process.exit(jobFailFlag ? 1 : 0); diff --git a/index.js b/index.js index ad49d01..a18ceee 100644 --- a/index.js +++ b/index.js @@ -111,16 +111,10 @@ const buildReadme = (prevReadmeContent, newReadmeContent) => { const commitReadme = async () => { // Getting config - const committerUsername = "DoyDevLabs"; - const committerEmail = "doydevlabs@gmail.com"; - const commitMessage = "Todoist updated."; - // Doing commit and push - await exec("git", ["config", "--global", "user.email", committerEmail]); - await exec("git", ["config", "--global", "user.name", committerUsername]); await exec("git", ["add", README_FILE_PATH]); await exec("git", ["commit", "-m", commitMessage]); // await exec('git', ['fetch']); - await exec("git", ["push"]); + // await exec("git", ["push"]); core.info("Readme updated successfully."); // Making job fail if one of the source fails process.exit(jobFailFlag ? 1 : 0);