mirror of
https://github.com/ingress-it-solutions/gitea-code-review-action.git
synced 2025-04-20 11:06:47 +00:00
Added code for Gitea
This commit is contained in:
parent
dd1b960277
commit
afa79b554e
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -54,7 +54,7 @@ async function run() {
|
||||||
|
|
||||||
if(sourceAt === 'github') {
|
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}`);
|
console.log(`diff url: ${url}`);
|
||||||
var response = await axios.get(url, {
|
var response = await axios.get(url, {
|
||||||
headers: {
|
headers: {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue