diff --git a/dist/index.js b/dist/index.js index 430a37c..844358b 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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; diff --git a/index.js b/index.js index a3b9269..ead5923 100644 --- a/index.js +++ b/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;