From 81c7e35b1b58bea268846cf60ff969da67d723db Mon Sep 17 00:00:00 2001 From: hanyugeon Date: Wed, 29 May 2024 23:43:23 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20PR=20Comment=20=EA=B4=80=EB=A0=A8=20?= =?UTF-8?q?=EC=BD=94=EB=93=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/lighthouse.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/lighthouse.yml b/.github/workflows/lighthouse.yml index 5f4b50d2..939cbe75 100644 --- a/.github/workflows/lighthouse.yml +++ b/.github/workflows/lighthouse.yml @@ -111,11 +111,11 @@ jobs: comments += `| ${colorCode} ${formattedName} | ${average.toFixed(1)}${unit} |\n`; }); - if (comments && github.context.issue.number) { - const issue_number = github.context.issue.number; - const repo = github.context.repo.repo; - const owner = github.context.repo.owner; - github.rest.issues.createComment({ + if (comments && context.issue.number) { + const issue_number = context.issue.number; + const repo = context.repo.repo; + const owner = context.repo.owner; + github.issues.createComment({ owner, repo, issue_number,