diff --git a/dist/index.js b/dist/index.js index 159e40a..ae428d2 100644 --- a/dist/index.js +++ b/dist/index.js @@ -31,7 +31,7 @@ async function run() { return } - let githubToken = core.getInput("gh-token", {required: true,}) + let githubToken = process.env.GITHUB_TOKEN let repoOwner = github.context.repo.owner let repoName = github.context.repo.repo const branchName = "go-upgrade-" + latestGoVersion