Skip to content

Commit

Permalink
fix: env variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
fiqryq committed May 19, 2024
1 parent a47a13e commit 4a6e757
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ const github = require('@actions/github');
const { Octokit } = require('@octokit/rest');
const axios = require('axios');

const githubToken = core.getInput('gh-token');
const openaiApiKey = core.getInput('openai-api-key');
const githubToken = process.env.GH_TOKEN;
const openaiApiKey = process.env.OPENAI_API_KEY;

const octokit = new Octokit({ auth: githubToken });

Expand Down

0 comments on commit 4a6e757

Please sign in to comment.