From 118580b35c904adf95afece1c4d0b6a6fee04782 Mon Sep 17 00:00:00 2001 From: Shakar Bakr <5h4k4r.b4kr@gmail.com> Date: Sun, 8 Oct 2023 15:05:43 +0300 Subject: [PATCH] Updates githubToken variable Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com> --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 240a79b..7cd8e4d 100644 --- a/index.js +++ b/index.js @@ -75,7 +75,7 @@ async function commitChanges(file, filePath) { // Append a newline character to the end of the new content newContent += '\n'; - const githubToken = core.getInput('githubToken'); + const githubToken = process.env.GITHUB_TOKEN; // Get the repository owner and name const repoFullName = process.env.GITHUB_REPOSITORY;