mirror of
https://github.com/ditkrg/project-version-check.git
synced 2026-01-22 22:06:42 +00:00
Updates githubToken variable
Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
This commit is contained in:
parent
49c39e2e1f
commit
118580b35c
2
index.js
2
index.js
@ -75,7 +75,7 @@ async function commitChanges(file, filePath) {
|
|||||||
// Append a newline character to the end of the new content
|
// Append a newline character to the end of the new content
|
||||||
newContent += '\n';
|
newContent += '\n';
|
||||||
|
|
||||||
const githubToken = core.getInput('githubToken');
|
const githubToken = process.env.GITHUB_TOKEN;
|
||||||
|
|
||||||
// Get the repository owner and name
|
// Get the repository owner and name
|
||||||
const repoFullName = process.env.GITHUB_REPOSITORY;
|
const repoFullName = process.env.GITHUB_REPOSITORY;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user