mirror of
https://github.com/ingress-it-solutions/gitea-code-review-action.git
synced 2025-04-20 11:06:47 +00:00
Fixed code base
This commit is contained in:
parent
696b91dabc
commit
144f8250d1
3 changed files with 5 additions and 5 deletions
4
dist/index.js
vendored
4
dist/index.js
vendored
|
@ -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
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
4
index.js
4
index.js
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue