Skip to content

Commit

Permalink
fix: revert input env
Browse files Browse the repository at this point in the history
  • Loading branch information
fiqryq committed May 19, 2024
1 parent 4a6e757 commit d228b82
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 = process.env.GH_TOKEN;
const openaiApiKey = process.env.OPENAI_API_KEY;
const githubToken = core.getInput('gh-token');
const openaiApiKey = core.getInput('openai-api-key');

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

Expand Down

0 comments on commit d228b82

Please sign in to comment.