Updates githubToken variable

Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
This commit is contained in:
Shakar Bakr 2023-10-08 15:05:43 +03:00
parent 49c39e2e1f
commit 118580b35c
No known key found for this signature in database
GPG Key ID: DA55A26823AE3C28

View File

@ -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;