From 3ea93caed8a4dcfbba1d0faa58fbf50a64ac6a1d Mon Sep 17 00:00:00 2001 From: wataru Date: Tue, 17 Oct 2023 00:02:53 +0900 Subject: [PATCH] chore: add debug code --- badges/coverage.svg | 2 +- dist/index.js | 4 ++++ src/main.ts | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/badges/coverage.svg b/badges/coverage.svg index ff3ef5c..466d8ed 100644 --- a/badges/coverage.svg +++ b/badges/coverage.svg @@ -1 +1 @@ -Coverage: 85.29%Coverage85.29% \ No newline at end of file +Coverage: 86.84%Coverage86.84% \ No newline at end of file diff --git a/dist/index.js b/dist/index.js index 7616656..8dc4c4b 100644 --- a/dist/index.js +++ b/dist/index.js @@ -33243,6 +33243,10 @@ async function run() { const pullNumber = github.context.payload.pull_request ?.number; const GITHUB_TOKEN = core.getInput('github-token'); + console.log('conditionsInput', conditionsInput); + console.log('owner', conditionsInput); + console.log('repo', conditionsInput); + console.log('pullNumber', pullNumber); const response = await axios_1.default.get(`https://api.github.com/repos/${owner}/${repo}/pulls/${pullNumber}/reviews`, { headers: { Accept: 'application/vnd.github.v3+json', diff --git a/src/main.ts b/src/main.ts index ca567e5..e610c42 100644 --- a/src/main.ts +++ b/src/main.ts @@ -30,6 +30,10 @@ export async function run(): Promise { const pullNumber: number = github.context.payload.pull_request ?.number as number const GITHUB_TOKEN: string = core.getInput('github-token') + console.log('conditionsInput', conditionsInput) + console.log('owner', conditionsInput) + console.log('repo', conditionsInput) + console.log('pullNumber', pullNumber) const response = await axios.get( `https://api.github.com/repos/${owner}/${repo}/pulls/${pullNumber}/reviews`,