Skip to content

Commit

Permalink
fix: use auth prop again in client
Browse files Browse the repository at this point in the history
  • Loading branch information
nilslice committed Jan 19, 2024
1 parent 12e4a91 commit 29ed52e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ async function actism(input, steps, wasi, outputType, test) {
outputType = outputType.trim();

let githubToken = core.getInput('github_token');
githubToken = githubToken.trim();
if (githubToken.length === 0) {
core.info("No `github_token` was read from input");
}
Expand Down Expand Up @@ -84,7 +83,7 @@ const Steps = (input) => {

const ActionsBindings = (githubToken) => {
const hostFuncs = {};
const octokit = github.getOctokit(githubToken);
const octokit = github.getOctokit({ auth: githubToken });

hostFuncs.github_context = (plugin) => {
return plugin.store(JSON.stringify(github.context));
Expand Down

0 comments on commit 29ed52e

Please sign in to comment.