Skip to content

Commit

Permalink
fix: PR Comment 관련 코드 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hanyugeon committed May 29, 2024
1 parent 486c96c commit 81c7e35
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 81c7e35

Please sign in to comment.