mirror of
https://github.com/mshick/add-pr-comment.git
synced 2025-12-31 14:20:32 +11:00
fix: pulls request path
This commit is contained in:
parent
240085d7fd
commit
ada0007158
2 changed files with 2 additions and 2 deletions
2
dist/index.js
vendored
2
dist/index.js
vendored
|
|
@ -2006,7 +2006,7 @@ const getPulls = async (repoToken, repo, commitSha) => {
|
||||||
|
|
||||||
core.debug(JSON.stringify(body));
|
core.debug(JSON.stringify(body));
|
||||||
|
|
||||||
return body;
|
return body.result;
|
||||||
};
|
};
|
||||||
|
|
||||||
async function run() {
|
async function run() {
|
||||||
|
|
|
||||||
2
index.js
2
index.js
|
|
@ -19,7 +19,7 @@ const getPulls = async (repoToken, repo, commitSha) => {
|
||||||
|
|
||||||
core.debug(JSON.stringify(body));
|
core.debug(JSON.stringify(body));
|
||||||
|
|
||||||
return body;
|
return body.result;
|
||||||
};
|
};
|
||||||
|
|
||||||
async function run() {
|
async function run() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue