Skip to content

Commit

Permalink
fix: message
Browse files Browse the repository at this point in the history
  • Loading branch information
mattzcarey committed Dec 23, 2023
1 parent edaf2d4 commit a7afa18
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ export const getAPIKeyFromGH = async (
repo: repo.repo,
owner: repo.owner,
issue_number: context.pullRequest().pull_number,
body: `@${repo.owner} I can't access your OPENAI_API_KEY. This is set in your GitHub repository at Settings/Actions/Repository Variables/Secrets. Please contact the repository owner to set this up.`,
body: `@${
context.pullRequest().owner
} I can't access your OPENAI_API_KEY. This is set in your GitHub repository at Settings/Actions/Repository Variables/Secrets. Please contact @${
repo.owner
} to set this up.`,
});

throw new Error("Error fetching OPENAI_API_KEY");
Expand Down

0 comments on commit a7afa18

Please sign in to comment.