mirror of
https://github.com/mshick/add-pr-comment.git
synced 2025-12-31 14:20:32 +11:00
debug: adding context debugging
This commit is contained in:
parent
5d9e844aad
commit
76a68e3329
2 changed files with 4 additions and 4 deletions
4
dist/index.js
vendored
4
dist/index.js
vendored
|
|
@ -2006,7 +2006,7 @@ const getPulls = async (repoToken, repo, commitSha) => {
|
|||
|
||||
const body = await response.readBody();
|
||||
|
||||
core.debug(body);
|
||||
core.debug(JSON.stringify(body));
|
||||
|
||||
return body;
|
||||
};
|
||||
|
|
@ -2024,7 +2024,7 @@ async function run() {
|
|||
payload: { pull_request: pullRequest, sha, repository },
|
||||
} = github.context;
|
||||
|
||||
core.debug(github.context);
|
||||
core.debug(JSON.stringify(github.context));
|
||||
|
||||
const { full_name: repoFullName } = repository;
|
||||
|
||||
|
|
|
|||
4
index.js
4
index.js
|
|
@ -19,7 +19,7 @@ const getPulls = async (repoToken, repo, commitSha) => {
|
|||
|
||||
const body = await response.readBody();
|
||||
|
||||
core.debug(body);
|
||||
core.debug(JSON.stringify(body));
|
||||
|
||||
return body;
|
||||
};
|
||||
|
|
@ -37,7 +37,7 @@ async function run() {
|
|||
payload: { pull_request: pullRequest, sha, repository },
|
||||
} = github.context;
|
||||
|
||||
core.debug(github.context);
|
||||
core.debug(JSON.stringify(github.context));
|
||||
|
||||
const { full_name: repoFullName } = repository;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue