Skip to content

Commit

Permalink
token
Browse files Browse the repository at this point in the history
  • Loading branch information
ianjennings committed Jan 14, 2025
1 parent c543f84 commit 2b488a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ axios.interceptors.response.use(
// console.log(chalk.green("TestDriver:"), '"Looking into it..."');
// console.log(chalk.green("TestDriver:"), '"I can help ya test that!"');

// const personalAccessToken = process.env.GITHUB_TOKEN || config.githubContext.token || undefined;
const personalAccessToken = process.env.GITHUB_TOKEN || config.githubContext.token || undefined;

// if (personalAccessToken) {
// console.log(chalk.green("TestDriver:"), '"Access Token Supplied..."');
Expand Down Expand Up @@ -258,7 +258,7 @@ axios.interceptors.response.use(
// core.setOutput("success", isPassed);

// create a github check for this run
getOctokit().rest.checks.create({
getOctokit(personalAccessToken).rest.checks.create({
owner: config.githubContext.owner,
repo: config.githubContext.repo,
name: "TestDriver.ai",
Expand Down

0 comments on commit 2b488a4

Please sign in to comment.