Merge pull request #16 from ingress-it-solutions/dev

Removed comment from ReadMe
This commit is contained in:
vandanafuletra 2023-04-23 17:14:12 +05:30 committed by GitHub
commit 24425a1668
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 6 deletions

View file

@ -2,7 +2,7 @@
# OpenAI Code Review
A Gitea Action that uses OpenAI to analyze code in pull request comments.
A Gitea Action that uses OpenAI to analyze code in pull request comments. Test message
## Usage

4
dist/index.js vendored
View file

@ -39341,11 +39341,11 @@ async function run() {
if(sourceAt === 'github') {
// Reply to the review comment with the OpenAI response
const client = new github.GitHub(githubToken, {
const client = new github.getOctokit(githubToken, {
baseUrl: githubBaseURL
});
await client.issues.createComment({
await octokit.rest.issues.createComment({
owner: repoOwner,
repo: repoName,
issue_number: prNumber,

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View file

@ -155,11 +155,11 @@ async function run() {
if(sourceAt === 'github') {
// Reply to the review comment with the OpenAI response
const client = new github.GitHub(githubToken, {
const client = new github.getOctokit(githubToken, {
baseUrl: githubBaseURL
});
await client.issues.createComment({
await octokit.rest.issues.createComment({
owner: repoOwner,
repo: repoName,
issue_number: prNumber,