mirror of
https://github.com/ingress-it-solutions/gitea-code-review-action.git
synced 2025-04-19 18:56:45 +00:00
Fixed issue with comment
This commit is contained in:
parent
99d8e69a4f
commit
b0064e3282
3 changed files with 3 additions and 3 deletions
2
dist/index.js
vendored
2
dist/index.js
vendored
|
@ -39301,7 +39301,7 @@ async function run() {
|
|||
const octokit = github.getOctokit(githubToken, {
|
||||
baseUrl: githubBaseURL
|
||||
});
|
||||
const commentUrl = `${githubBaseURL}/${repoOwner}/${repoName}/pulls/${prNumber}`;
|
||||
const commentUrl = `${githubBaseURL}/repos/${repoOwner}/${repoName}/pulls/${prNumber}`;
|
||||
var response = await axios.post(commentUrl, {
|
||||
body: answerTemplate.replace('${answer}', answer),
|
||||
headers: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue