From 7b71b45aaf3f8407fd456a660ff9c40691c2797e Mon Sep 17 00:00:00 2001 From: Tekiter Date: Fri, 17 Nov 2023 23:48:16 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EA=B2=BD=EB=A1=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/actions/randomReviewer.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/actions/randomReviewer.js b/.github/actions/randomReviewer.js index fb07e3a82..a79902f3e 100644 --- a/.github/actions/randomReviewer.js +++ b/.github/actions/randomReviewer.js @@ -11,12 +11,13 @@ const headers = { }; const getPullRequest = async () => { - const response = await fetch(`https://api.github.com/repos/repos/${owner}/${repo}/pulls/${prNumber}`, { + const response = await fetch(`https://api.github.com/repos/${owner}/${repo}/pulls/${prNumber}`, { method: 'GET', headers, }); if (!response.ok) { + console.log(`https://api.github.com/repos/${owner}/${repo}/pulls/${prNumber}`); console.error(await response.text()); throw new Error('PR 정보를 읽어오는데 실패했어요.'); }