mirror of
https://github.com/ingress-it-solutions/gitea-code-review-action.git
synced 2025-04-21 03:26:47 +00:00
Merge pull request #13 from ingress-it-solutions/dev
Added code for Gitea
This commit is contained in:
commit
a7d158edbd
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
2
index.js
2
index.js
|
@ -54,7 +54,7 @@ async function run() {
|
|||
|
||||
if(sourceAt === 'github') {
|
||||
|
||||
const url = `${githubBaseURL}/api/v1/repos/${repoOwner}/${repoName}/pulls/${prNumber}/diff`;
|
||||
const url = `${githubBaseURL}/repos/${repoOwner}/${repoName}/pulls/${prNumber}/diff`;
|
||||
console.log(`diff url: ${url}`);
|
||||
var response = await axios.get(url, {
|
||||
headers: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue