From c65fe87e339d3dd203274c62d0f36f405d78e8a0 Mon Sep 17 00:00:00 2001 From: Thomas Boop <52323235+thboop@users.noreply.github.com> Date: Wed, 3 Jun 2020 13:51:19 -0400 Subject: [PATCH] Minor readme clarification --- packages/github/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/github/README.md b/packages/github/README.md index eb034088..02e9be07 100644 --- a/packages/github/README.md +++ b/packages/github/README.md @@ -17,7 +17,7 @@ async function run() { // https://help.github.com/en/actions/automating-your-workflow-with-github-actions/authenticating-with-the-github_token#about-the-github_token-secret const myToken = core.getInput('myToken'); - const octokit = github.getOctokit(token) + const octokit = github.getOctokit(myToken) // You can also pass in additional options as a second parameter to getOctokit // const octokit = github.getOctokit(myToken, {userAgent: "MyActionVersion1"});