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;